Hello,
this is my configuration in SolrConfig.xml:
<updateRequestProcessorChain name="langid">
<processor
class="org.apache.solr.update.processor.TikaLanguageIdentifierUpdateProcessorFactory">
<str name="langid.fl">NomDocument,ContenuDocument,Postit</str>
<str name="langid.langField">language_s</str>
<str name="langid.fallback">fr</str>
<str name="langid.whitelist">en,fr,ar</str>
<bool name="langid.map">true</bool>
<bool name="langid.map.individual">true</bool>
<str name="langid.map.individual.fl">NomDocument</str>
<bool name="langid.map.keepOrig">true</bool>
</processor>
<processor class="solr.LogUpdateProcessorFactory" />
<processor class="solr.RunUpdateProcessorFactory" />
</updateRequestProcessorChain>
then what should i do in schema.xml ?
is this right :
<field name="ContenuDocument" type="language_s" multiValued="false"
indexed="true" required="false" stored="true"/>
thanks,
Best regards,
Anass BENJELLOUN
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-Fields-Multilingue-tp4144223p4144372.html
Sent from the Solr - User mailing list archive at Nabble.com.