Good question Ilan, I think the Solr project needs to state (and write down) some principles for how and when to upgrade Lucene. We should obviously not upgrade to a new major lucene version in a minor Solr release, so it feels natural that Solr N+1 most often (but not necessarily) also contains a new Lucene major. It could very well be that once Solr is ready to do 10.0, Lucene has already released, say, 10.2.1, and then Solr 10.0 would use that and just skip the ones in between. However, we should not be so sloppy with updating Lucene that we need to play too much catch-up.
Lucene will not dictate exactly when Solr is to do a release, but perhaps aim at a solr major release within the first 6 months after each Lucene major, depending on what major stuff we have waiting in main? Jan > 7. mai 2021 kl. 16:54 skrev Ilan Ginzburg <[email protected]>: > > Do we risk not being able to support the Solr N-1 indexes in Solr N (i.e. no > easy migration path) if between Solr N-1 and Solr N Lucene has advanced from > P to P+2 and P+2 does not support indexes in P format? > > On Fri, May 7, 2021 at 12:23 AM David Smiley <[email protected] > <mailto:[email protected]>> wrote: > Thanks for raising this. I'm not aware of WIP. > > I think we can create a "SolrVersion" class, copying the approach Lucene has > taken? The SolrVersion can have access to the Lucene Version, since Solr is > dependent on Lucene. > > Another related issue is that I think Solr should do away with the schema > version. See https://issues.apache.org/jira/browse/SOLR-12420 > <https://issues.apache.org/jira/browse/SOLR-12420> > > ~ David Smiley > Apache Lucene/Solr Search Developer > http://www.linkedin.com/in/davidwsmiley > <http://www.linkedin.com/in/davidwsmiley> > > On Thu, May 6, 2021 at 9:44 AM Jan Høydahl <[email protected] > <mailto:[email protected]>> wrote: > Hi, > > So far Solr has always had the same version as Lucene, so we have tons of > places in our code that checks the org.apache.lucene.util.Version class. > > Going forward we'll soon end up in a situation where we e.g. release Solr x > on top of Lucene y. > Some places we ne need to continue checking on Lucene's version, related to > index compatibility, while other places we need to depend on Solr version. > Is there any Work-In-Progress on this? > > Jan > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > <mailto:[email protected]> > For additional commands, e-mail: [email protected] > <mailto:[email protected]> >
