I have a directory of listings each with an expires_on column. I'd
like the search results to return anything that has an expires_on >
Date.today OR expires_on IS NULL (for listings that have no expiration
date).

Is it best to add that in the define_index block (if so, with a where
statement?), or as a :condition of the search itself?

--

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.


Reply via email to