Re: Indexing Multiple Languages with solr (Arabic & English)
It's just a text type. So, just declare another field and instead of text_general or text_en, use text_ar. Then use copyField from source text field to it. Go through the tutorial, if you haven't yet. It explains some of the things. Regards, Alex. Personal website: http://www.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events from happening all at once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) On Tue, Dec 3, 2013 at 3:12 PM, aniljayanti wrote: > Hi, > > Thanks for ur post, > > I donot know how to use "text_ar" fieldtype for Arabic language. What are > the configurations need to add in schema.xml file ? Please guide me. > > > AnilJayanti > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Indexing-Multiple-Languages-with-solr-Arabic-English-tp4104580p4104613.html > Sent from the Solr - User mailing list archive at Nabble.com. >
Re: Indexing Multiple Languages with solr (Arabic & English)
Hi, Thanks for ur post, I donot know how to use "text_ar" fieldtype for Arabic language. What are the configurations need to add in schema.xml file ? Please guide me. AnilJayanti -- View this message in context: http://lucene.472066.n3.nabble.com/Indexing-Multiple-Languages-with-solr-Arabic-English-tp4104580p4104613.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Indexing Multiple Languages with solr (Arabic & English)
Have you tried doing copyField to replicate the content and have one field indexed as English text type and another with the same content as Arabic text type. Then, doing the search against both using edismax or similar. That's one approach to this. Just because it is in one field in the database, it does not have to be in one field in Solr. And you don't have to 'store' both copies if you just want to search them. Regards, Alex. Personal website: http://www.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events from happening all at once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) On Tue, Dec 3, 2013 at 1:12 PM, aniljayanti wrote: > Hi, > > I am working on solr for using searching by indexing with "text_general" > for > "ENGLISH" language. Search is working fine. Now I have a Arabic text, which > needs to indexing and searching. Below is my basic config for English.* > Same > field contains "ENGLISH" and "ARABIC" text in database*. Please guide me in > this. > > positionIncrementGap="100"> > > > words="stopwords.txt" enablePositionIncrements="true" /> > > > > > > words="stopwords.txt" enablePositionIncrements="true" /> > ignoreCase="true" expand="true"/> > > > > > I saw below configs in schema.xml file for Arabic language. > > > positionIncrementGap="100"> > > > > > words="lang/stopwords_ar.txt" enablePositionIncrements="true"/> > > > > > > > Please suggest me to configure Arabic indexing and searching. > > Thanks in Advance, > > AnilJayanti > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Indexing-Multiple-Languages-with-solr-Arabic-English-tp4104580.html > Sent from the Solr - User mailing list archive at Nabble.com. >
Indexing Multiple Languages with solr (Arabic & English)
Hi, I am working on solr for using searching by indexing with "text_general" for "ENGLISH" language. Search is working fine. Now I have a Arabic text, which needs to indexing and searching. Below is my basic config for English.* Same field contains "ENGLISH" and "ARABIC" text in database*. Please guide me in this. I saw below configs in schema.xml file for Arabic language. Please suggest me to configure Arabic indexing and searching. Thanks in Advance, AnilJayanti -- View this message in context: http://lucene.472066.n3.nabble.com/Indexing-Multiple-Languages-with-solr-Arabic-English-tp4104580.html Sent from the Solr - User mailing list archive at Nabble.com.