I have done follow it, but if I query with diacritic it respose only non-diacritic. But I want to query without diacritic anh then solr will be response both of diacritic and without diacritic :(
Steven A Rowe wrote: > > Hi Olala, > > You can get something similar to what you want by copying the original > field to another one where, as Hoss suggests, you apply > ASCIIFoldingFilterFactory, and the rewrite queries to match against both > fields, with higher boost given to the original field. > > @Hoss: Olala would benefit from a feature that AFAICT Solr doesn't > currently have: the ability to add synonyms based on arbritrary > transforms. > > Steve > > On 12/28/2009 at 5:33 AM, Olala wrote: >> >> I tried but it still not correct :( >> >> hossman wrote: >> > > I am developing a seach engine with Solr, and now I want to search >> > > both with and without diacritics, for example: if I query kho, it >> > > will response kho, khó, khò,... But if I query khó, it will >> > > response only khó. >> > > >> > > Who anyone have solution? I have used <filter >> > > class="solr.ISOLatin1AccentFilterFactory"/> but it is not correct >> > ( >> > >> > try ASCIIFoldingFilterFactory instead. >> > >> > -Hoss > > > -- View this message in context: http://old.nabble.com/Search-both-diacritics-and-non-diacritics-tp26897627p26975115.html Sent from the Solr - User mailing list archive at Nabble.com.