diff options
| author | W. Trevor King <wking@tremily.us> | 2016-01-01 22:07:42 -0800 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2016-03-24 07:39:42 -0300 |
| commit | 6c0b6c8e1c4a8ab139db3cadee26d05962c3ce2c (patch) | |
| tree | 6a172046a623419fb740b703c4f0e3dac7880a6b /bindings/python/docs/source/query.rst | |
| parent | 031ca3f1bdb5e9edb9fc21779149bdfcb554a83f (diff) | |
nmbug-status: Wrap query phrases in parentheses when and-ing together
For example:
"query": ["tag:a", "tag:b or tag:c"]
is now converted to:
( tag:a ) and ( tag:b or tag:c )
instead of the old:
tag:a and tag:b or tag:c
This helps us avoid confusion due to Xapian's higher-precedence AND
[1], where the old query would be interpreted as:
( tag:a and tag:b ) or tag:c
[1]: http://xapian.org/docs/queryparser.html
Diffstat (limited to 'bindings/python/docs/source/query.rst')
0 files changed, 0 insertions, 0 deletions
