Strange, incoherent query parsing
Jorge P. de Morais Neto
jorge+list at disroot.org
Wed Aug 28 08:16:43 PDT 2019
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?]]
More information about the notmuch
mailing list