From: Jorge P. de Morais Neto <jorge+list@disroot.org>
To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
Subject: Re: Strange, incoherent query parsing
Date: Wed, 28 Aug 2019 12:16:43 -0300 [thread overview]
Message-ID: <874l21wc9w.fsf@disroot.org> (raw)
In-Reply-To: <87d0gp8uw3.fsf@tethera.net>
Hello,
Em 2019-08-28T07:08:28-0300, David Bremner escreveu:
> I don't know about the other cases but here there is an extra closing
> ')', which confuses the query parser. I agree that an error report
> would be nicer, but we don't currently have that option from Xapian.
Oops. Sorry about that. But still there seem to be real errors. The
first query[1] should match messages containing both "Saúde" and "Geap"
(sans the double quotes) in the subject, but does not.
1: 'subject:("Saúde" "Geap") OR subject:xplitz'
Also note that the fourth query[2] should have AND as the implicit
boolean operator, because 'subject:' is not a boolean prefix. You
explained in the other thread the implicit OR operator only applies for
search terms with the same /boolean/ prefix.
2: 'subject:"Saúde" subject:"Geap"'
Regards
--
- I am Brazilian. I hope my English is correct and I welcome feedback
- Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z
- Free/libre software for Android: https://f-droid.org/
- [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]]
next prev parent reply other threads:[~2019-08-28 15:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-27 17:38 Strange, incoherent query parsing Jorge P. de Morais Neto
2019-08-28 10:08 ` David Bremner
2019-08-28 15:16 ` Jorge P. de Morais Neto [this message]
2019-08-30 0:13 ` David Bremner
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
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874l21wc9w.fsf@disroot.org \
--to=jorge+list@disroot.org \
--cc=david@tethera.net \
--cc=notmuch@notmuchmail.org \
/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.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).