Re: Language detection for solr 3.6.1

2014-07-07 Thread Poornima Jay
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.




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  
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  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 
> 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
>
>  class="${solr.directoryFactory:solr.StandardDirectoryFactory}"/>
>
>  
>      class="org.apache.solr.update.processor.LangDetectLanguageIdentifierUpdateProcessorFactory">
>     
>     content_eng
>     true
>     content_eng,content_ja
> 
    en,ja
>     en:english ja:japanese
>     en
>     
>     
>   
>
>   
>     
>     langid
>     
>  
 
>
> Please suggest me the solution.
>
> Thanks,
> Poornima
>

Re: Language detection for solr 3.6.1

2014-07-07 Thread Alexandre Rafalovitch
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  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 
> 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
>
>  class="${solr.directoryFactory:solr.StandardDirectoryFactory}"/>
>
>  
>  class="org.apache.solr.update.processor.LangDetectLanguageIdentifierUpdateProcessorFactory">
> 
> content_eng
> true
> content_eng,content_ja
> en,ja
> en:english ja:japanese
> en
> 
> 
>   
>
>   
> 
> langid
> 
>   
>
> Please suggest me the solution.
>
> Thanks,
> Poornima
>

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



Re: Language detection for solr 3.6.1

2014-07-07 Thread Poornima Jay
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  
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



 
    
    
    content_eng    
    true
    content_eng,content_ja
    en,ja
    en:english ja:japanese
    en
    
    
  
  
  
    
    langid
    
  

Please suggest me the solution.

Thanks,
Poornima