Two things to note:

* Wildcard searches don't work by default with real-time indices. Adding this 
to your config/thinking_sphinx.yml file should help under each environment:

  dict: keywords

If that doesn't help, there might be something buggy in Thinking Sphinx 3.0.6, 
I'm not sure - see if 3.0.5 works if that's the case.

-- 
Pat

On 22/10/2013, at 10:04 PM, Duy Vo <[email protected]> wrote:

> Hi (again)
> I read some post about wildcard search in FAQ and here. Here are my index
> 
> ThinkingSphinx::Index.define :user, :with => :real_time do
>   indexes username, unique_id
>   has company_id, :type => :integer
>   set_property :enabled_star => 1
>   set_property :min_infix_len => 10
> end
> 
> Regenerate success but i can't search using wildcard. 
> User.search('abc123def456') return the user but User.search('abc123def4*') 
> return [].
> Is the config for wildcard work for realtime index? or is it change recently. 
> Thank you
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/thinking-sphinx.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to