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.co
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
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,
Peter,
is there a specific need to split these entities? why not just fetch
both columns in one entity? like this:
two additional hints:
1) if you 'alias' your fields in your select query (select title_en as
categories_en) then it's no longer nee