Search code examples
solrlucenesolr4

Solr luceneMatchVersion syntax


I have Solr 4.10 and I have collection on it with solorconfig.xml has the value for <luceneMatchVersion> as follows:

<luceneMatchVersion>4.7</luceneMatchVersion>

Is this correct? I saw other examples that has values such as LUCENE_35 What I need to know also, how could I express LUCENE_xx from my current Solr version?


Solution

  • You should use:

    <luceneMatchVersion>4.10.4</luceneMatchVersion>
    

    I recommend you to check your current solr version, in my case was 4.10.4.