Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solr warning all over the place #234

Closed
brutuscat opened this issue May 29, 2012 · 3 comments
Closed

Solr warning all over the place #234

brutuscat opened this issue May 29, 2012 · 3 comments

Comments

@brutuscat
Copy link
Contributor

When starting latest solr 3.6.0 , with current sunpot 2.pre schema and solrconfig, I get many warnings all over the place. We should work to solve those.

Log file:

Apr 24, 2012 2:21:27 PM org.apache.solr.core.Config getLuceneVersion
WARNING: 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.
Apr 24, 2012 2:21:27 PM org.apache.solr.core.SolrConfig <init>
WARNING: <indexDefaults> and <mainIndex> configuration sections are deprecated (but still work). Please use <indexConfig> instead.
Apr 24, 2012 2:21:27 PM org.apache.solr.core.SolrConfig <init>
WARNING: Deprecated syntax found. <highlighting/> should move to <searchComponent/>
Apr 24, 2012 2:21:27 PM org.apache.solr.analysis.BaseTokenStreamFactory assureMatchVersion
WARNING: 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
Apr 24, 2012 2:21:27 PM org.apache.solr.analysis.BaseTokenStreamFactory assureMatchVersion
WARNING: StandardFilterFactory 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
Apr 24, 2012 2:21:27 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
Apr 24, 2012 2:21:27 PM org.apache.solr.analysis.BaseTokenStreamFactory assureMatchVersion
WARNING: 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
Apr 24, 2012 2:21:28 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
Apr 24, 2012 2:21:28 PM org.apache.solr.core.SolrCore initIndex
WARNING: [] Solr index directory '/home/entretenerse/src/apache-solr-3.6.0/example/data/index' doesn't exist. Creating new index...
Apr 24, 2012 2:21:29 PM org.apache.solr.request.XSLTResponseWriter <init>
WARNING: org.apache.solr.request.XSLTResponseWriter is deprecated. Please use the corresponding class in org.apache.solr.response
entretenerse@prod1 [~]# cat shared/log/solr.log-20120529
May 28, 2012 11:49:37 PM org.apache.solr.core.Config getLuceneVersion
WARNING: 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.
May 28, 2012 11:49:37 PM org.apache.solr.core.SolrConfig <init>
WARNING: <indexDefaults> and <mainIndex> configuration sections are deprecated (but still work). Please use <indexConfig> instead.
May 28, 2012 11:49:38 PM org.apache.solr.core.SolrConfig <init>
WARNING: Deprecated syntax found. <highlighting/> should move to <searchComponent/>
May 28, 2012 11:49:38 PM org.apache.solr.analysis.BaseTokenStreamFactory assureMatchVersion
WARNING: 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
May 28, 2012 11:49:38 PM org.apache.solr.analysis.BaseTokenStreamFactory assureMatchVersion
WARNING: StandardFilterFactory 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 28, 2012 11:49:38 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 28, 2012 11:49:38 PM org.apache.solr.analysis.BaseTokenStreamFactory assureMatchVersion
WARNING: 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
May 28, 2012 11:49:38 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 28, 2012 11:49:38 PM org.apache.solr.core.SolrCore initIndex
WARNING: [] WARNING: Solr index directory '/home/entretenerse/src/apache-solr-3.6.0/example/data/index/' is locked.  Unlocking...
May 28, 2012 11:49:38 PM org.apache.solr.request.XSLTResponseWriter <init>
WARNING: org.apache.solr.request.XSLTResponseWriter is deprecated. Please use the corresponding class in org.apache.solr.response
@s01ipsist
Copy link

Most of these are resolved by adding

<luceneMatchVersion>3.6</luceneMatchVersion>

to the solrconfig.xml

@rywall
Copy link
Member

rywall commented Sep 10, 2013

Is this still an issue?

@r-nicol
Copy link

r-nicol commented Aug 18, 2016

I can confirm doing this got rid of the same warning for me.

@bragboy bragboy closed this as completed Aug 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants