You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Ward Bekker <wa...@equanimity.nl> on 2011/05/04 12:20:03 UTC
Deprication warnings in Solr log
Hello,
I just upgraded to 3.1. After this the solr.log is showing deprecation warnings (see below).
What can I do about this?
Regards,
Ward
-----
WARNING: 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
May 3, 2011 12:26:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WordDelimiterFilterFactory
May 3, 2011 12:26:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
May 3, 2011 12:26:48 PM org.apache.solr.analysis.BaseTokenStreamFactory assureMatchVersion
WARNING: 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
May 3, 2011 12:26:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.RemoveDuplicatesTokenFilterFactory
May 3, 2011 12:26:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.HTMLStripCharFilterFactory
May 3, 2011 12:26:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WhitespaceTokenizerFactory
May 3, 2011 12:26:48 PM org.apache.solr.analysis.BaseTokenStreamFactory assureMatchVersion
WARNING: 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
May 3, 2011 12:26:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.WordDelimiterFilterFactory
May 3, 2011 12:26:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
May 3, 2011 12:26:48 PM org.apache.solr.analysis.BaseTokenStreamFactory assureMatchVersion
WARNING: 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
Re: Deprication warnings in Solr log
Posted by Ward Bekker <wa...@equanimity.nl>.
That attribute is not defined. Is it required?
Regards,
Ward
On May 4, 2011, at 3:11 PM, lboutros wrote:
> did you update this part in your solrconfig.xml ?
>
> <luceneMatchVersion>LUCENE_31</luceneMatchVersion>
>
> Ludovic.
>
>
> -----
> Jouve
> France.
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Deprication-warnings-in-Solr-log-tp2898163p2898749.html
> Sent from the Solr - User mailing list archive at Nabble.com.
Re: Deprication warnings in Solr log
Posted by lboutros <bo...@gmail.com>.
did you update this part in your solrconfig.xml ?
<luceneMatchVersion>LUCENE_31</luceneMatchVersion>
Ludovic.
-----
Jouve
France.
--
View this message in context: http://lucene.472066.n3.nabble.com/Deprication-warnings-in-Solr-log-tp2898163p2898749.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Deprication warnings in Solr log
Posted by Ward Bekker <wa...@tty.nl>.
Hi Erick,
I've removed the old indexes. Rebuilded and I'm still getting the depreciation warnings.
Regards,
Ward
On May 4, 2011, at 2:23 PM, Erick Erickson wrote:
> What this is saying is that your index was created with a 2.x format.
> That format
> is supported in 3.x, but will NOT be supported in 4.x.
>
> So re-index your data with a 3.x Solr and this should go away...
>
> Best
> Erick
>
> On Wed, May 4, 2011 at 6:20 AM, Ward Bekker <wa...@equanimity.nl> wrote:
>> Hello,
>>
>> I just upgraded to 3.1. After this the solr.log is showing deprecation warnings (see below).
>>
>> What can I do about this?
>>
>> Regards,
>>
>> Ward
>>
>> -----
>>
>> WARNING: 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
>> May 3, 2011 12:26:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
>> INFO: created : org.apache.solr.analysis.WordDelimiterFilterFactory
>> May 3, 2011 12:26:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
>> INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
>> May 3, 2011 12:26:48 PM org.apache.solr.analysis.BaseTokenStreamFactory assureMatchVersion
>> WARNING: 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
>> May 3, 2011 12:26:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
>> INFO: created : org.apache.solr.analysis.RemoveDuplicatesTokenFilterFactory
>> May 3, 2011 12:26:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
>> INFO: created : org.apache.solr.analysis.HTMLStripCharFilterFactory
>> May 3, 2011 12:26:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
>> INFO: created : org.apache.solr.analysis.WhitespaceTokenizerFactory
>> May 3, 2011 12:26:48 PM org.apache.solr.analysis.BaseTokenStreamFactory assureMatchVersion
>> WARNING: 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
>> May 3, 2011 12:26:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
>> INFO: created : org.apache.solr.analysis.WordDelimiterFilterFactory
>> May 3, 2011 12:26:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
>> INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
>> May 3, 2011 12:26:48 PM org.apache.solr.analysis.BaseTokenStreamFactory assureMatchVersion
>> WARNING: 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
Re: Deprication warnings in Solr log
Posted by Erick Erickson <er...@gmail.com>.
What this is saying is that your index was created with a 2.x format.
That format
is supported in 3.x, but will NOT be supported in 4.x.
So re-index your data with a 3.x Solr and this should go away...
Best
Erick
On Wed, May 4, 2011 at 6:20 AM, Ward Bekker <wa...@equanimity.nl> wrote:
> Hello,
>
> I just upgraded to 3.1. After this the solr.log is showing deprecation warnings (see below).
>
> What can I do about this?
>
> Regards,
>
> Ward
>
> -----
>
> WARNING: 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
> May 3, 2011 12:26:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created : org.apache.solr.analysis.WordDelimiterFilterFactory
> May 3, 2011 12:26:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
> May 3, 2011 12:26:48 PM org.apache.solr.analysis.BaseTokenStreamFactory assureMatchVersion
> WARNING: 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
> May 3, 2011 12:26:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created : org.apache.solr.analysis.RemoveDuplicatesTokenFilterFactory
> May 3, 2011 12:26:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created : org.apache.solr.analysis.HTMLStripCharFilterFactory
> May 3, 2011 12:26:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created : org.apache.solr.analysis.WhitespaceTokenizerFactory
> May 3, 2011 12:26:48 PM org.apache.solr.analysis.BaseTokenStreamFactory assureMatchVersion
> WARNING: 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
> May 3, 2011 12:26:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created : org.apache.solr.analysis.WordDelimiterFilterFactory
> May 3, 2011 12:26:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created : org.apache.solr.analysis.LowerCaseFilterFactory
> May 3, 2011 12:26:48 PM org.apache.solr.analysis.BaseTokenStreamFactory assureMatchVersion
> WARNING: 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