-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Index comments on Solr #152
Conversation
@gforcada thanks for creating this Pull Request and help improve Plone! To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass. Whenever you feel that the pull request is ready to be tested, either start all jenkins jobs pull requests by yourself, or simply add a comment in this pull request stating:
With this simple comment all the jobs will be started automatically. Happy hacking! |
@jenkins-plone-org please run jobs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I trust you and I see the big plus in switching from catalog.reindexObject(obj)
to obj.indexObject()
to exploit the queue.
It is not evident for me why the method in the tool.py
file were removed.
Anyway I would say let's merge this :)
Do not defer to p.a.discussion own tool. That's needed so that collective.indexing can patch comments, so in turn can be indexed by Solr.
a5c0c38
to
8cb659c
Compare
Thanks for clarifying! It's even fine to remove them if they are deprecated :) |
@jenkins-plone-org please run jobs |
I was about to close this one, but given that it still helps on removing the last usage of the deprecated comment indexing tool, I will keep it. Let's see if the unrelated failures are fixed on a second run. |
As collective/collective.solr#102 finally got merged, it is time to use that on plone.app.discussion.
This minimal pull request is what is needed so that collective.solr (or other indexing tools) need to index comments on Solr.
Fixes (by ignoring) #77