The way Sphinx works by default, bob isn't going to match bobjones,  
because they're different words.

If you want to enable wildcard searching though, then the best way to  
do it is:
* Add enable_star: true and min_infix_len: 1 to your config/sphinx.yml  
file.
* Stop Sphinx, re-index, and restart.
* Now try searching for bob*

Cheers

-- 
Pat

On 26/05/2009, at 10:26 AM, ben wiseley wrote:

> I can't seem to figure out, using extended or extended2 match mode,  
> how to have ts return results for things like this:
>
> data:  login is "bobjones"
>
> define_index do
>     indexes login, :sortable => true
>
> search for:  bob  - returns noting
>
> I tried doing bob* - no luck
>
> I tried adding allow_star true to config - no luck
>
> Any ideas on this?
>
> -ben
>
>
> >


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