Skip to content
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

Support Apache Solr 5.x #10

Closed
geerlingguy opened this issue Mar 28, 2015 · 6 comments
Closed

Support Apache Solr 5.x #10

geerlingguy opened this issue Mar 28, 2015 · 6 comments

Comments

@geerlingguy
Copy link
Owner

5.x is another large change to the entire Solr deployment/configuration process, as it no longer supports other Java servlet containers out of the box, and relies instead on built-in tooling.

The recommended setup uses a shell script with command line flags, but we can do better than that (what is this, 1999? Who logs into servers anymore?).

See:

I did a lot of the ground work in #8, but there are still some things that need to be changed to get 5.x deployed and configured correctly out of the box. So far, since none of the projects I'm working on even have rudimentary support for 5.x (they're all only recently updated for later versions of 4.x!), this isn't a pressing issue. But I would like to be able to get the role to support at least 4.x and 5.x, if not 3/4/5.

@alanlavintman
Copy link

Geerling, i need support for solr 5. Took a look at your role and i would like to work it out a bit.
What do you say if we use the service installation script instead of the one you wrote?

@arknoll
Copy link

arknoll commented May 2, 2016

FWIW, solr 5.x support is very important for Drupal 8 search_api_solr. 4.x will work, however, the new search_api_solr architecture will allow you to configure solr via the drupal UI if you are using solr 5.x.

@geerlingguy
Copy link
Owner Author

geerlingguy commented May 2, 2016

The new search_api_solr architecture will allow you to configure solr via the drupal UI if you are using solr 5.x.

Heh... something I personally would rather not see happen; letting site admins do things that affect the search index/schema directly is an idea that can end poorly :)

But I understand and would like to get to adding Solr 5 support to the upstream role soon. The main problem is that a lot of little bits of the installation/configuration has changed, enough to where the 3.x/4.x structure that's currently in place will need to be replaced in a backwards-compatible way :(

@geerlingguy
Copy link
Owner Author

Doing a little work on this now...

@geerlingguy
Copy link
Owner Author

Pushed up a commit that's so far only tested on Debian. Going to do some testing on RedHat and also update tests to use Docker and test a bunch more things.

@geerlingguy
Copy link
Owner Author

I can also get rid of the custom init script by using Solr's built-in installation script—see "Run the Solr Installation Script" on this page: https://cwiki.apache.org/confluence/display/solr/Taking+Solr+to+Production

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants