define_index do
 indexes nick_name
 indexes login
end

On Aug 10, 11:25 am, nnn <[email protected]> wrote:
> >> User.search('ava', :star => true)
>
> => [#<User id: 6, login: "ersning", nick_name: "Ava", email:
> "[email protected]"]
>
> >> User.search('av', :star => true)
>
> => []
>
> I have two sphinx index in my project, above is the user model.
> when I want to fuzzy search, it doesn't work.but I have been enable
> enable_star: true in my sphinx.yml file. also I have a another example
> in my computer, it work.

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