Forum: Ruby on Rails Thinking Sphinx

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Raghu 2. (Guest)
on 2009-05-14 18:28
Search criteria
1.Searching with the combination of the "AND" and "OR" conditions for
four to five fields of the table.
  -Added the indexes for the search fields.
  Ex1.>["store_id=16 and
(store_order_id='23432' or store_customer_id='23432')" ])
    -This query is returning the empty result set.

    -This query works perfectly,but this is a combination of the "AND"

Trying to find a solution to search on the multiple fields combined with
"AND" and "OR" conditions.

This topic is locked and can not be replied to.