Hi Kurdt I've never spotted anything in Sphinx's documentation that suggests you can do that. However, you *can* use soundex as a morphology, and so it would apply to all fields, and influence every search result. http://sphinxsearch.com/docs/manual-1.10.html#conf-morphology http://freelancing-god.github.com/ts/en/advanced_config.html
As shown in the last link (about half way down the page) you can set it globally in your config/sphinxyml, or you can set it on a per-index basis in your define_index block: set_property :morphology => 'soundex' Cheers -- Pat On 18/02/2011, at 12:43 AM, kurdt wrote: > Hey Guys. > > Is it possible to search records with the soundex-algorithm, like the > find-method with SQL do: > > :conditions => ["substring(soundex(city),1,4) = substring(soundex(?), > 1,4)", city] > > Best wishes, > kurdt > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/thinking-sphinx?hl=en. > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
