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

Ahmet Arslan commented on SOLR-6128:
------------------------------------

bq. Fix your schema.xml to no longer use deprecated field types and analyzers.

More precisely, remove these lines from your {{schema.xml}}

{code:xml}
 NOTE: These field types are deprecated will be removed in Solr 5.0!
     <fieldType name="pint" class="solr.IntField"/>
    <fieldType name="plong" class="solr.LongField"/>
    <fieldType name="pfloat" class="solr.FloatField"/>
    <fieldType name="pdouble" class="solr.DoubleField"/>
    <fieldType name="pdate" class="solr.DateField" sortMissingLast="true"/>
{code}

{code:xml}
    <fieldType name="text_th" class="solr.TextField" positionIncrementGap="100">
      <analyzer> 
        <tokenizer class="solr.StandardTokenizerFactory"/>
        <filter class="solr.LowerCaseFilterFactory"/>
        <filter class="solr.ThaiWordFilterFactory"/>
        <filter class="solr.StopFilterFactory" ignoreCase="true" 
words="lang/stopwords_th.txt" />
      </analyzer>
    </fieldType>
{code}

It is a good idea to remove unused types from schema.xml, it will be more clean 
and readable in that way. By the way you don't have to worry about these 
warning messages.  Please rise your further questions on mailing lists. If you 
haven't subscribed already, here is how to do it : 
https://lucene.apache.org/solr/discussion.html

> SolrResourceLoader Error messages
> ---------------------------------
>
>                 Key: SOLR-6128
>                 URL: https://issues.apache.org/jira/browse/SOLR-6128
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - Solr Cell (Tika extraction)
>    Affects Versions: 4.8.1
>         Environment: Windows Server 2012 R2
>            Reporter: Omer Arslan
>            Priority: Minor
>
> Solr loaded a deprecated plugin/analysis class [solr.IntField]. Please 
> consult documentation how to replace it accordingly.
> Solr loaded a deprecated plugin/analysis class [solr.LongField]. Please 
> consult documentation how to replace it accordingly.
> Solr loaded a deprecated plugin/analysis class [solr.FloatField]. Please 
> consult documentation how to replace it accordingly.
> Solr loaded a deprecated plugin/analysis class [solr.DoubleField]. Please 
> consult documentation how to replace it accordingly.
> Solr loaded a deprecated plugin/analysis class [solr.DateField]. Please 
> consult documentation how to replace it accordingly.
> No stored data found for /rest/managed
> No registered observers for /rest/managed



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to