Thank you, it works now :D On Tuesday, October 22, 2013 7:10:53 PM UTC+7, Pat Allan wrote: > > 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] <javascript:>> > wrote: > > Hi (again) > I read some post about wildcard search in > FAQ<http://pat.github.io/thinking-sphinx/common_issues.html#wildcards> > and > here<http://blog.wyeworks.com/2009/4/20/wildcard-search-with-thinking-sphinx/>. > > 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] <javascript:>. > To post to this group, send email to [email protected]<javascript:> > . > 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.
