I actually got this working with a negated query, but the strange this
is that it only works if a search term is also specified. For
example:
Job.search 'keyword', :conditions => {:location => '-"San Francisco
CA"'}
This query correctly returns job entries that match "keyword" but are
not in San Francisco.
Job.search :conditions => {:location => '-"San Francisco CA"'}
This query doesn't return anything, although I was hoping it would
return all job entries not in San Francisco.
Any ideas why that doesn't work, and what I can do then to execute an
"all jobs not in San Francisco" query?
Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---