Hi Brian

I'm not sure about the wordforms approach, but stemming in Sphinx happens the 
other way around - ie: a search for 'car' returns documents with 'cars' in 
them. I guess one way around this is to use the stemmer gem and break down your 
search queries into their core stems, use that for the search instead. I've no 
idea how reliable that would be, though.

That said, if there's very specific situations where you need this to happen, 
then maybe wordforms would be better. Did you want to run us through your setup 
for that?

Cheers

-- 
Pat

On 07/10/2010, at 7:20 AM, Brian Rose wrote:

> We're attempting to get Sphinx's stemming support working in order to
> handle pluralized nouns in a search. The use case is simple -- we just
> need searches for, as an example, "cars" to return results containing
> "car."
> 
> Stemming is enabled in the config, and we've also tried a wordforms
> file. Neither seems to have any effect.
> 
> The sphinx.yml file: http://gist.github.com/613987
> The development.sphinx.conf file: http://gist.github.com/613994
> The index definition: http://gist.github.com/614002
> 
> Any idea what might be going on? We've tried everything we can come up
> with.
> 
> Thanks,
> Brian Rose
> 
> -- 
> 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.

Reply via email to