--
You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group.
To view this discussion on the web visit https://groups.google.com/d/msg/thinking-sphinx/-/0L5nAMiga8YJ.
To post to this group, send email to thinkin...@googlegroups.com.
To unsubscribe from this group, send email to thinking-sphi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
Just to confirm: are you using an actual facet for this search, or just searching with conditions on the field in question?
If it's the latter (which is what it sounds like), then the issue is that field searches aren't on the full value of the field - this is Sphinx's normal behaviour. However, you can use regex-ish syntax to mark the start and end of the value - something like the following should hopefully work:
Product.search :conditions => {:brand => "^Nike$"}
(The docs were shifted because I changed GitHub usernames from freelancing-god to pat - but earlier today I published the docs back to freelancing-god.github.com, given I grabbed that username again to direct people to the new locations. So, Google should be happier with that situation. It's a shame GitHub doesn't allow 301 redirects from one account to another).
Cheers
--
Pat