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