It matches results with the word foo but not the word bar. But Sphinx won't like this:
Model.search "-bar", :match_mode => :extended
So, it may be better, given a status column has a known set of values, to search on all of those values instead:
Model.search :conditions => {:status => "(active | pending)"}
--
Pat
> --
> 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/-/PcXMdEE1LL4J.
> 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.
--
Pat
> --
> 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/-/r2bOI6hPpk4J.