From: 5srmspw02@sneakemail.com (Guarded Identity)
Subject: [sup-talk] Boolean "OR" operator in query?
Date: Wed, 27 Feb 2008 20:29:39 -0600 [thread overview]
Message-ID: <15896-58934@sneakemail.com> (raw)
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
next reply other threads:[~2008-02-28 2:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-28 2:29 Guarded Identity [this message]
2008-02-28 16:59 ` William Morgan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=15896-58934@sneakemail.com \
--to=5srmspw02@sneakemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox