-
Notifications
You must be signed in to change notification settings - Fork 0
Solr fulltext indexing #204
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
Conversation
- Backport the index fields from the old deployment. - No test changes, because no test coverage on this view at all. This is just a dirty MVP checkpoint. It works but the schema needs cleaning up.
Also: provide upgrade, adjust tests
| - poppler_utils (pdf) | ||
| - html-tidy (cleans up the html that will be converted to pdf) | ||
|
|
||
| Solr: cave canem |
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 am pretty sure you can configure the port and avoid the problem.
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.
Oh I tried. But the actual startup ignores any custom port and starts with the buildout configured port.
https://github.com/collective/collective.solr/blob/1d65570fd9270d465317469796f17a7b351bd4d5/src/collective/solr/testing.py#L61
In order to keep this PR small and focused I've extracted fixing that into a subtask https://github.com/syslabcom/scrum/issues/3974
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.
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.
Like I said, I tried. And found out that the port is not passed to the solr start script.
Refs https://github.com/syslabcom/scrum/issues/3147
See the corresponding recensio.buildout PR for a fix for the fulltext indexing of standalone files, and for working with this package in a pre-configured development environment.
The solr config here is identical to the one in the corresponding recensio.buildout PR. The config is based on the collective.solr provided configuration, with indexes added that I took from the old solr configuration in recensio.deployment.