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

Update Solr to a more recent version #379

Closed
ruebot opened this issue Sep 22, 2016 · 12 comments
Closed

Update Solr to a more recent version #379

ruebot opened this issue Sep 22, 2016 · 12 comments

Comments

@ruebot
Copy link
Member

ruebot commented Sep 22, 2016

We're running 4.10. Any reason we shouldn't move up? Should we go for Solr 6+?

@Islandora-CLAW/committers thoughts?

@Islandora-CLAW/sprinters let us know what you think too!

@ruebot ruebot added the Vagrant label Sep 22, 2016
@MarcusBarnes
Copy link

MarcusBarnes commented Sep 22, 2016

I'm listening in on the committers call. PHP version support came up (http://php.net/eol.php). It would be a good idea to make sure we're building using versions that are not end-of-life or near end-of-life. Is such information available for the versions of Solr?

@acoburn
Copy link
Contributor

acoburn commented Sep 22, 2016

I still use Solr 4.x for certain integration testing suites b/c they still provide a WAR file under that version, which makes certain things easier. AFAIK, the main query/update API has not changed in a very long time, so there's no problem with testing w/ 4.x, unless you're planning to use some of the newer, more advanced features (admin API, stand-alone deployment, etc, etc)

@ruebot
Copy link
Member Author

ruebot commented Sep 26, 2016

@Islandora-CLAW/committers are y'all fine on staying on 4.x, or do we have a use case for a new feature? If we decide to stay where we're at, I'll make this issue resolved.

@DiegoPino
Copy link
Contributor

@ruebot we really should explore 5.x or even better 6.x. Drupal Search API support for multilingual search works better with 5.x, 6.x allows per field update (remember whe mentioned this to cm harlow a few months ago?).

@ruebot
Copy link
Member Author

ruebot commented Sep 27, 2016

@DiegoPino can you outline use cases for moving away from 4.x, and provide a version number we should move to? Once we have agreement on that, I'll go update the Vagrant version, and we'll develop against that.

@DiegoPino
Copy link
Contributor

@ruebot crazy day, taking a bus to catch a plane now. May i do this tomorrow?

@ruebot
Copy link
Member Author

ruebot commented Sep 27, 2016

@DiegoPino no rush on this. Take your time 😄

@qadan
Copy link

qadan commented Oct 28, 2016

weirdly poking my head in here

I've been doing some work recently to try to get some of the features of Solr 5.0+ hack-ported into 4.10.x and it's been a real pain in the rear end. Specifically:

  • The DateRangeField, which was added in 5.0. I'll be putting a pull in to Islandora Transforms shortly to make date range faceting work in in 4.10.x but it's really awful. Being able to facet on objects that were "created between xxxx-yyyy" or "published after zzzz" would be a huge improvement to searching.
  • Query-time multi-word synonym expansion, without which Solr synonyms are basically useless. This actually doesn't even exist yet, but I've been following the related JIRA issue and have the patch working - just, the only way they'll accept it upstream is as part of a branch that's in active development, which now precludes 4.x. I'm going to put some work into porting the patch forward, but it seems like as far as they're concerned, it'll never be accepted into 4.x.

Additionally, something I miss in 4.10.x is the massive improvements to the Schema API in 5.0+. The place it's at now would make some major Solr configuration doable from the Drupal side without having to touch the configs - it could even be baked into field configuration, for example.

I'd say if you're looking for a target version, 5.0 provides a couple fantastic features, and the next major dev versions will too if I can get that patch assembled.

@ruebot
Copy link
Member Author

ruebot commented Oct 28, 2016

@qadan thanks! That sounds like a really solid use case for moving to at least 5.x.

@ruebot
Copy link
Member Author

ruebot commented Oct 29, 2016

Completely forgot that Solr 5.0 and up cannot be deployed in Tomcat: https://wiki.apache.org/solr/WhyNoWar

Hacking notes...

@ruebot
Copy link
Member Author

ruebot commented Oct 29, 2016

PR: #407

dannylamb pushed a commit that referenced this issue Nov 29, 2016
* Move to Solr 6.2.1; Address #379.

* fix submodules

* rebase
@dannylamb
Copy link
Contributor

Resolved with 01c4dd0

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

6 participants