It's perhaps mildly unintuitive, but you can just do:
Since Sunspot interprets nil in a filter as "has no indexed value".
> I have a rather simple question. The answer was not immediately obvious
> Solr provides some ways of querying for all documents in which a field
> What are the Sunspot practices and/or idioms for such queries?
> Thank you.
> For more options, visit this group athttp://groups.google.com/group/ruby-sunspot?hl=en.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.