Hi,

I often see a bad usage of the version attribute in shema.xml. For instance

<schema name="foo" version="2.1">

The version attribute is to specify the schema syntax and semantics version
to be used by Solr. The current value is 1.6

It is clearly specified in schema.xml comments "It should not normally be
changed by applications".

However, what happens if this attribute is not correctly set ? I tried to
find the answer in the code but without success. If the value is not 1.0,
1.1, ... or 1.6, does Solr default it to the last correct value so 1.6 ?

Regards

Dominique

Reply via email to