diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2022-12-29 20:23:56 +0000 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2022-12-31 19:00:58 +0100 |
commit | bda10fa1b37fed8ea313ea8ad49fa6146e65b4c0 (patch) | |
tree | 6858f342a39c178d306ef1c4196ad20ce509b487 | |
parent | dd22dcbf49045dfecf83ae84a3e703e2c4d7df31 (diff) |
xapian: Do not override the default OR implicit query operator.
An implicit AND operator is overly restrictive. It was only necessary
because prefixes that should have been indexed as boolean prefixes
were not.
* mumi/xapian.scm (parse-query*): Do not override the default OR
implicit query operator.
-rw-r--r-- | mumi/xapian.scm | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mumi/xapian.scm b/mumi/xapian.scm index 7bf84d3..ae01acc 100644 --- a/mumi/xapian.scm +++ b/mumi/xapian.scm @@ -253,7 +253,6 @@ messages and index their contents in the Xapian database at DBPATH." (let ((queryparser (new-QueryParser)) (date-range-processor (new-DateRangeProcessor 0 "date:" 0)) (mdate-range-processor (new-DateRangeProcessor 1 "mdate:" 0))) - (QueryParser-set-default-op queryparser (Query-OP-AND)) (QueryParser-set-stemmer queryparser stemmer) (when stemming-strategy (QueryParser-set-stemming-strategy queryparser stemming-strategy)) |