Setting Lucene Version

You can configure Solr to use a specific version of Lucene. This can help ensure that the Lucene version that Search uses includes the latest features and bug fixes.

At the time that a version of Solr ships, Solr is typically configured to use the appropriate Lucene version, in which case there is no need to change this setting. If a subsequent Lucene update occurs, you can configure the Lucene version requirements by directly editing the solrconfig.xml file.

To change the configured Lucene version, edit the luceneMatchVersion element in the solrconfig.xml file.
Versions are typically of the form x.y, such as 7.4.
For example, to specify version 7.4, you would ensure the following setting exists in solrconfig.xml: