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