I fixed it. I had made sure to do rake ts:rebuild a few times without
seeing any changes. I even compiled Sphinx 2.0.1-beta without any
luck. I'm not sure how I got it working, finally, but it's working
now.

On Sep 25, 11:29 pm, Pat Allan <[email protected]> wrote:
> Hi Nick
>
> Have you rebuilt your indices and restarted Sphinx since making the 
> configuration change?
>
> --
> Pat
>
> On 26/09/2011, at 1:18 PM, nick.colgan wrote:
>
>
>
>
>
>
>
> > I can't seem to get wildcard searching working.
>
> > I've got this in config/sphinx.yml:
>
> > development:
> >  enable_star: true
> >  min_infix_len: 1
>
> > and this is my user model:
>
> >  define_index do
> >    indexes first_name
> >    indexes last_name
> >  end
>
> > User.search('Nick') returns results.
>
> > The following do not:
>
> > User.search('*Nic*')
> > User.search('Nic',:star => true)
> > User.search('Nic*')
>
> > What am I doing wrong here?
>
> > --
> > 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 
> > athttp://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