Thanks Cassio, that worked.
On Jul 17, 11:09 am, Cássio Marques <[email protected]> wrote:
> In sphinx.yml, add this to your envs
> enable_star: true
>
> then when the user sends a search term, enclose it with "*", so it will
> match anything that comes after this point.
>
> Search => trop ==> trop* ==> matches trophies
>
> You can put "*" in both ends, so it will match anywhere, like *ophi*
> => matches trophies
>
> On Fri, Jul 17, 2009 at 2:38 PM, ryanlonac <[email protected]> wrote:
>
> > Hey guys, installed sphinx and thinking sphinx for a rails project
> > where mysql simple search was used before.
>
> > It is working great, just wondered what config setting to use so that
> > when searching for troph, trophies would come up. Is there a way to
> > search for part of the word?
>
> --
> Cássio Marques
>
> Blog:http://cassiomarques.wordpress.com
>
> If you're writing code and you're not testing it, the code is wrong. I don't
> care if it does the right thing, and people need to understand this. If it
> works by accident, you're still wrong.
> Bryan Liles - Ruby Hoedown 2008
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---