NULLs are empty strings as far as Sphinx is concerned - I would recommend not 
having NULL statuses, whether or not Sphinx is involved - it's a pretty key 
column to have a value in.

-- 
Pat

On 06/02/2012, at 10:36 PM, mohitnegi wrote:

> got it,
> But its like the status field can be NULL also.
> 
> So can i provide it in the query like
>  Model.search :conditions => {:status => "(active | pending | NULL)"}
> 
> 
> 
> 
> -- 
> 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.
> 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.

 

-- 
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