With the following search

User.search(params[:search], :conditions => conditions,
                                              :with => with,
                                              :without => {:lat =>
nil, :lng => nil},
                                              :sort_mode => :extended,
                                              :order => "created_at
DESC, updated_at DESC",
                                              :max_matches => 1000,
                                              :per_page    => 1000)

I get an error:

No response from searchd (status: , version: )

I changed the :without clause with:

 :without => {:lat => nil, :lng => nil}

But I do not get any result. I need to exclude user with lat and lng
attibutes set to nil or 0.0. Any idea?

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