From mboxrd@z Thu Jan 1 00:00:00 1970 From: 5srmspw02@sneakemail.com (Guarded Identity) Date: Wed, 27 Feb 2008 20:29:39 -0600 Subject: [sup-talk] Boolean "OR" operator in query? Message-ID: <15896-58934@sneakemail.com> Hi, I'm using the latest git Sup, and I tried to do the following query: label:admin OR label:info Here's an excerpt from the log (a little formatting to dodge wrapping) Wed Feb 27 19:49:18 -0600 2008: normalized "label:admin OR label:info" to "label:admin label:info" Wed Feb 27 19:49:18 -0600 2008: got 1 results for query (offset 0) +(+label:admin +label:info) -label:spam -label:deleted It's pretty clear the boolean operators are getting dropped. It also easy to find the section of code in index.rb that's doing this conversion. I read a little of the Ferret API and also some of the comments in Redwood::Index.parse_user_query_string, but I've not yet reached an understanding of why the operators are being dropped. So I got lazy and thought I'd ask the list because I'd like to have the ability to have disjunctions in queries. Thanks for your help, Sukant