Hi Cauê

Unfortunately handling mispellings isn't automatic in Sphinx. 'run'  
and 'runs' are both words - Sphinx runs the indexes through a stemmer  
based on the English language (which is the default currently in  
Thinking Sphinx, though I will be setting it to use nothing by default  
at some point soon). There are stemmers available for other languages  
as well.

Stemmers are not the same as mispellings, though, so if you want  
something automatic, it's not build into Sphinx at the moment. It  
might be worth looking into the Aspell library (and the Ruby bridge,  
raspell), which can provide corrections, then use those corrections to  
search?

Cheers

-- 
Pat

On 18/05/2009, at 1:35 PM, Cauê wrote:

>
> hi, very thanks for thinking sphinx
>
> I am developing an app based on ts, and I need the following
> funtionality.
>
> Given a text that has the word 'programmer', when I search for
> 'pogrammer', for example (yes, I misspelled), I need the ts to find my
> document. The problem is that I didn't find a way to configure this.
>
> I have seen that ts is able to bring me 'run' if a search for 'runs',
> for example
>
>
> thanks
> Cauê
>
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to