You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "Manepalli, Kalyan" <KA...@orbitz.com> on 2009/06/01 22:30:56 UTC
Unable to Search German text
Hi All,
I am facing an issue while adding multi language support in the Solr.
Here is what I am doing.
1) have a field of type text_de which has analyzer as snowballporterFilterFactory with German2 as language
2) copy the german locationName into this field at the index time.
3) I can see that german text is converted into its corresponding English text, but still it doesn't return the doc when searched
Example:
Add a document with locationName as "Köln" into the field text_de.
When I run the analyzer on this field it display "Köln" converted into "koln".
But when I search for "koln" I don't get any results.
Any suggestions on this will be very helpful
Thanks,
Kalyan Manepalli
RE: Unable to Search German text
Posted by "Manepalli, Kalyan" <KA...@orbitz.com>.
I found what I was doing wrong. The XML document that I was posting didn't have the char encoding info, due to which the solr was ignoring the special chars.
Thanks,
Kalyan Manepalli
-----Original Message-----
From: Manepalli, Kalyan [mailto:KALYAN.MANEPALLI@orbitz.com]
Sent: Monday, June 01, 2009 3:31 PM
To: solr-user@lucene.apache.org
Subject: Unable to Search German text
Hi All,
I am facing an issue while adding multi language support in the Solr.
Here is what I am doing.
1) have a field of type text_de which has analyzer as snowballporterFilterFactory with German2 as language
2) copy the german locationName into this field at the index time.
3) I can see that german text is converted into its corresponding English text, but still it doesn't return the doc when searched
Example:
Add a document with locationName as "Köln" into the field text_de.
When I run the analyzer on this field it display "Köln" converted into "koln".
But when I search for "koln" I don't get any results.
Any suggestions on this will be very helpful
Thanks,
Kalyan Manepalli