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 at 
http://groups.google.com/group/thinking-sphinx?hl=en.

Reply via email to