You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shawn Heisey (JIRA)" <ji...@apache.org> on 2015/04/14 17:01:12 UTC

[jira] [Commented] (SOLR-7388) warning log about deprecated class things

    [ https://issues.apache.org/jira/browse/SOLR-7388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14494192#comment-14494192 ] 

Shawn Heisey commented on SOLR-7388:
------------------------------------

Is this a config and schema of your own design, or one that is included with Solr 5.0?  If it's included, how did you create the cores that are using it?

ThaiWordFilterFactory has a replacement, mentioned in the javadoc for that class.  It looks like it must be used as the tokenizer now.  My personal opinion here is that this removes a lot of flexibility from the schema ... tokenizers can be useful, but when functionality is rolled into a tokenizer, that tokenizer may do other things that you do not want to happen for a particular field.

http://lucene.apache.org/core/5_0_0/analyzers-common/org/apache/lucene/analysis/th/ThaiWordFilterFactory.html

The other message indicates that your config contains a section for loading the AdminHandlers.  This is now done automatically by the source code, you do not need to have it in your config.


> warning log about deprecated class things
> -----------------------------------------
>
>                 Key: SOLR-7388
>                 URL: https://issues.apache.org/jira/browse/SOLR-7388
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrJ
>    Affects Versions: 5.0
>            Reporter: Stephen Chen
>            Priority: Minor
>              Labels: LOG, warnings
>
> I deployed SOLR5.0.0 to tomcat, and there are some logs shown every time after deployment, it might affect lots of users although it functions well, please kindly help to have a look and advice, many thanks!
> there is a similar issue I searched on-line, for reference
> http://grokbase.com/t/lucene/dev/14626fjmk0/jira-created-solr-6128-solrresourceloader-error-messages
> WARN  - 2015-04-14 20:23:58.136; org.apache.solr.core.SolrResourceLoader; Solr loaded a deprecated plugin/analysis class [solr.ThaiWordFilterFactory]. Please consult documentation how to replace it accordingly.
> WARN  - 2015-04-14 20:23:59.374; org.apache.solr.core.SolrResourceLoader; Solr loaded a deprecated plugin/analysis class [solr.admin.AdminHandlers]. Please consult documentation how to replace it accordingly.
> WARN  - 2015-04-14 20:23:59.849; org.apache.solr.handler.admin.AdminHandlers; <requestHandler name="/admin/" 
>  class="solr.admin.AdminHandlers" /> is deprecated . It is not required anymore
> WARN  - 2015-04-14 20:23:59.853; org.apache.solr.handler.admin.AdminHandlers; <requestHandler name="/admin/" 
>  class="solr.admin.AdminHandlers" /> is deprecated . It is not required anymore
> WARN  - 2015-04-14 20:23:59.854; org.apache.solr.handler.admin.AdminHandlers; <requestHandler name="/admin/" 
>  class="solr.admin.AdminHandlers" /> is deprecated . It is not required anymore
> WARN  - 2015-04-14 20:24:01.511; org.apache.solr.handler.admin.AdminHandlers; <requestHandler name="/admin/" 
>  class="solr.admin.AdminHandlers" /> is deprecated . It is not required anymore
> WARN  - 2015-04-14 20:24:01.693; org.apache.solr.handler.admin.AdminHandlers; <requestHandler name="/admin/" 
>  class="solr.admin.AdminHandlers" /> is deprecated . It is not required anymore
> WARN  - 2015-04-14 20:24:02.319; org.apache.solr.schema.IndexSchema; no uniqueKey specified in schema.
> WARN  - 2015-04-14 20:24:02.429; org.apache.solr.handler.admin.AdminHandlers; <requestHandler name="/admin/" 
>  class="solr.admin.AdminHandlers" /> is deprecated . It is not required anymore
> WARN  - 2015-04-14 20:24:02.453; org.apache.solr.handler.admin.AdminHandlers; <requestHandler name="/admin/" 
>  class="solr.admin.AdminHandlers" /> is deprecated . It is not required anymore



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org