I am facing the issue with the jar file location. Where should i place the 
solr-langid-3.6.1.jar. If i place it in the instance folder inside 
/lib/solr-langid-3.6.1.jar the language detection class are not loaded. Should 
i use solr-langid-3.5.1.jar in solr 3.6.1 version? 

Can you please attach the schema file also for reference.

<lib dir="${user.dir}/../dist/" regex="solr-langid-.*\.jar" />
<lib dir="${user.dir}/../contrib/langid/lib/" />

where exactly the jar file should be placed? /dist/ or /contrib/langid/lib/

Thanks for your time.

Regards,
Poornima



On Monday, 7 July 2014 2:42 PM, Alexandre Rafalovitch <arafa...@gmail.com> 
wrote:
 


I've had an example in my book:
https://github.com/arafalov/solr-indexing-book/blob/master/published/languages/conf/solrconfig.xml
, though it was for Solr 4.2+. Solr in Action also has a section on
multilingual indexing. There is no generic advice, as everybody seems
to have slightly different multilingual requirements, but the books
will at least discuss the main issues.

Regarding your specific email from a week ago, You haven't actually
said what is the problem was. Just what you did. So, we don't know
where you are
 stuck and what - specifically - you need help with.

Regards,
   Alex.
Personal website: http://www.outerthoughts.com/
Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency



On Mon, Jul 7, 2014 at 4:06 PM, Poornima Jay <poornima...@rocketmail.com> wrote:
> Hi,
>
> Please let me know if anyone had used google language detection for
> implementing multilanguage search in one schema.
>
> Thanks,
> Poornima
>
>
>
>
> On Tuesday, 1 July 2014 6:54 PM, Poornima Jay <poornima...@rocketmail.com>
> wrote:
>
>
> Hi,
>
> Can anyone please let me know how to integrate
> http://code.google.com/p/language-detection/ 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="langid.map">true</str>
>     <str name="langid.map.fl">content_eng,content_ja</str>
> 
    <str name="langid.whitelist">en,ja</str>
>     <str name="langid.map.lcmap">en:english ja:japanese</str>
>     <str name="langid.fallback">en</str>
>     </lst>
>     </processor>
>   </updateRequestProcessorChain>
>
>   <requestHandler name="/update" class="solr.UpdateRequestHandler">
>     <lst name="defaults">
>     <str name="update.chain">langid</str>
>     </lst>
>  
 </requestHandler>
>
> Please suggest me the solution.
>
> Thanks,
> Poornima
>

Reply via email to