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]> 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
>
> ~ David Smiley
> Apache Lucene/Solr Search Developer
> http://www.linkedin.com/in/davidwsmiley
>
>
> On Thu, May 6, 2021 at 9:44 AM Jan Høydahl <[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]
>> For additional commands, e-mail: [email protected]
>>
>>

Reply via email to