[
https://issues.apache.org/jira/browse/SOLR-12420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17490117#comment-17490117
]
Jan Høydahl commented on SOLR-12420:
------------------------------------
Now that Solr has its own SolrVersion, we have these versions defined in SOlr:
* Current Lucene version
* Lucene Match Version from solrconfig
* Current Solr version
* Schema version
Schema version is used to determine defaults for a schema, so if you have a
fieldType that says nothing about omitNorms, then if the schema version is 1.4
it will be false while in 1.5 it will be true. So a user can move the same
schema from Solr 8.1 to Solr 9.0 and get the same search behavior. We could
achieve some of the same by locking it to the luceneMatchVersion, or we could
eliminate version and say that everyone gets latest behavior from Solr X. But
that will make it hard to introudce new schema defaults in a minor release.
> Propose removing schema version; use luceneMatchVersion instead
> ---------------------------------------------------------------
>
> Key: SOLR-12420
> URL: https://issues.apache.org/jira/browse/SOLR-12420
> Project: Solr
> Issue Type: Improvement
> Reporter: David Smiley
> Assignee: David Smiley
> Priority: Major
> Fix For: 9.0
>
>
> I propose that the schema version be removed in lieu of using
> luceneMatchVersion for this. One less thing to manage (in code, need REST
> API -- SOLR-7242, thing to document; etc.). We don't need the fidelity to
> differentiate from luceneMatchVersion. We're already using
> luceneMatchVersion for things instead of having a ton of additional version
> numbers. I can understand the point of putting a version number in in a
> config file but I don't think we should continue this practice.
> To make this happen, if the luceneMatchVersion is >= 7.4 (the release which
> we start doing this) then a non-existent schema version becomes equivalent to
> the latest schema version. Specifying the schema version becomes deprecated
> but supported; we might log a warning.
> In 8.0, strip schema version out altogether.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]