Hi,

I will make the collection in the collection solrcloud and used for "automatic language identification" but when they failed to make a collection in his process:

1. The automatic language identification


ERROR: Failed to create collection 'coba' due to: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:Error from server at http://localhost:8983/solr: Error CREATEing SolrCore 'coba_shard1_replica1': Unable to create core [coba_shard1_replica1] Caused by: org.apache.solr.update.processor.TikaLanguageIdentifierUpdateProcessorFactory

The following script in solrconfig.xml :

<updateRequestProcessorChain name="langid">
<processor name="langid" class="org.apache.solr.update.processor.TikaLanguageIdentifierUpdateProcessorFactory">
  <lst name="defaults">
    <str name="langid.fl">title, content</str>
    <str name="langid.langField">language</str>
    <str name="langid.langsField">languages</str>
  </lst>
</processor>
</updateRequestProcessorChain>

<requestHandler name="/update" class="solr.UpdateRequestHandler">
  <lst name="invariants">
    <str name="update.chain">langid</str>
  </lst>
</requestHandler>



2. Multi Language

ERROR: Failed to create collection 'coba' due to: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:Error from server at http://localhost:8983/solr: Error CREATEing SolrCore 'coba_shard1_replica1': Unable to create core [coba_shard1_replica1] Caused by: sia.ch14.MultiTextField

The following script in schema.xml :

  <fieldType name="text"
        class="sia.ch14.MultiTextField" sortMissingLast="true"
        defaultFieldType="text_id"
        fieldMappings="en:text_en"/>

please help me,
Thanks,
Hardika CS.

Reply via email to