solr search transliteration from latin to native language characters
I use apache solr engine. How I can give the ability to the users to make transliterated searches? For example, in case they type in latin letters, these should be transliterated and searched in their native language letters. like latin to greek, or latin to russian. the same as goog开发者_JAVA百科le is doing.
Is the transliteration happening and then the searching takes place? Or there is also a transliterated index?
How I can implement something like that?
I think, at the moment transliteration is not application(task) for solr.
How I can implement something like that?
Probably I would transliterate the users input into the "solr letter type", before sending the input to solr.
the same as google is doing.
You could use the google transliteration api: http://code.google.com/intl/de-DE/apis/language/transliterate/overview.html
精彩评论