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
Solr version should be explicitly defined as ckan requirement #3673
Comments
@SergK You are right, we should document the supported Solr versions. @TkTech you worked on this recently, any ideas on what we should recommend? Are there any extra steps that need to be added to these instructions to support Solr 5 or 6? As for this particular issue it looks like the behaviour of Solr 6 has changed (@wardi mentioned |
We can list usable versions but they release so frequently and with such poor quality releases there's little point in supporting anything official. Currently CKAN can work with minor changes from v3 to v6 (see #3510) |
Hello, Which version should I install? "Hows to" |
I'm in favor of only officially supporting recent versions of Solr with the next release. Solr has been pushing breaking update versions too quickly for us to support a wide range of versions perpetually. Version 6.6.* is stable and trivial to install from the Solr site. Solr maintainers seem to be behind with debian and most other distros being stuck on 3.6.2. Our documentation and packages should never recommend using the system solr package. Documentation really needs updating, we have some install guides recommending solr 1.4.1. We should stop covering "how to install solr" in all install guides and just point to the Solr guide. We're just creating duplicate, often incorrect/outdated documentation that adds extra maintenance. @amercader thoughts on pegging to 6.6.2 for now? I will update the schema and lib/search, along with any documentation I can find. |
Solr lists anything less than 7.7 as being end of life. We should pin to the 7.7.x series which is listed as long-term support. https://lucene.apache.org/solr/downloads.html#about-versions-and-support |
Any updates on this? What's current recommendation for Solr version to be used with latest CKAN 2.9.3 @ python3? |
Alright. I think that current effort in this area are captured here: #5143 |
It has sbeen specified here: https://github.com/ckan/ckan/blob/f1199e4201afb0cba282d054107dce0ff988ec5e/doc/maintaining/installing/solr.rst I think this issue can be closed, @amercader. |
CKAN Version if known (or site URL)
ckan (2.8.0a0)
Please describe the expected behavior
nosetest should pass with solr version 6.2 or at least it should be explicitly mentioned that tests use solr version solr-4.3.1 and the same version should be used for production use. We can also upgrade to solr-6.2, then tests should be updated as well.
Please describe the actual behaviour
Run
nosetests
test with solr version 6.2It is expected to pass the test, but it fails:
What steps can be taken to reproduce the issue?
The text was updated successfully, but these errors were encountered: