Opened 10 years ago

Closed 10 years ago

#480 closed enhancement (fixed)

Define proper Lucene match version

Reported by: twagoo Owned by: Twan Goosen
Priority: minor Milestone: VLO-3.0
Component: VLO web app Version:
Keywords: Cc: teckart, twagoo

Description

The solr log file is filled with warning messages like

StandardTokenizerFactory is using deprecated LUCENE_24 emulation. You should at some point declare and reindex to at least 3.0, because 2.x emulation is deprecated and will be removed in 4.0
WhitespaceTokenizerFactory is using deprecated LUCENE_24 emulation. You should at some point declare and reindex to at least 3.0, because 2.x emulation is deprecated and will be removed in 4.0
LowerCaseFilterFactory is using deprecated LUCENE_24 emulation. You should at some point declare and reindex to at least 3.0, because 2.x emulation is deprecated and will be removed in 4.0
LowerCaseTokenizerFactory is using deprecated LUCENE_24 emulation. You should at some point declare and reindex to at least 3.0, because 2.x emulation is deprecated and will be removed in 4.0
StopFilterFactory is using deprecated LUCENE_24 emulation. You should at some point declare and reindex to at least 3.0, because 2.x emulation is deprecated and will be removed in 4.0
SnowballPorterFilterFactory is using deprecated LUCENE_24 emulation. You should at some point declare and reindex to at least 3.0, because 2.x emulation is deprecated and will be removed in 4.0

The cause is explained by this message (also in the SOLR log):

the luceneMatchVersion is not specified, defaulting to LUCENE_24 emulation. You should at some point declare and reindex to at least 3.0, because 2.4 emulation is deprecated and will be removed in 4.0. This parameter will be mandatory in 4.0

As explained here, fixing this should be a matter of specifying

<luceneMatchVersion>LUCENE_36</luceneMatchVersion>

in solrconfig.xml.

This does require reindexing.

Change History (3)

comment:1 Changed 10 years ago by DefaultCC Plugin

Cc: teckart twagoo added

comment:2 Changed 10 years ago by Twan Goosen

Owner: changed from keeloo to Twan Goosen
Status: newassigned

Kees Jan no longer works on VLO. Assigning all VLO web app tickets owned by KJ to Twan

comment:3 Changed 10 years ago by Twan Goosen

Resolution: fixed
Status: assignedclosed

No longer an issue in 3.0 due to upgrade to Solr 4.6.0

Note: See TracTickets for help on using tickets.