lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Poornima Jay <>
Subject Language detection for solr 3.6.1
Date Tue, 01 Jul 2014 13:23:46 GMT

Can anyone please let me know how to integrate
in solr 3.6.1. I want four languages (English, chinese simplified, chinese traditional, Japanes,
and Korean) to be added in one schema ie. multilingual search from single schema file.

I tried added solr-langdetect-3.5.0.jar in my /solr/contrib/langid/lib/ location and in /webapps/solr/WEB-INF/contrib/langid/lib/
and made changes in the solrconfig.xml as below

<directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.StandardDirectoryFactory}"/>

 <updateRequestProcessorChain name="langid">
    <processor class="org.apache.solr.update.processor.LangDetectLanguageIdentifierUpdateProcessorFactory">
    <lst name="invariants">
    <str name="langid.fl">content_eng</str>    
    <str name="">true</str>
    <str name="">content_eng,content_ja</str>
    <str name="langid.whitelist">en,ja</str>
    <str name="">en:english ja:japanese</str>
    <str name="langid.fallback">en</str>
  <requestHandler name="/update" class="solr.UpdateRequestHandler">
    <lst name="defaults">
    <str name="update.chain">langid</str>

Please suggest me the solution.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message