[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60410] [PATCH 3/7] xapian: Do not override the default OR implicit
From: |
Arun Isaac |
Subject: |
[bug#60410] [PATCH 3/7] xapian: Do not override the default OR implicit query operator. |
Date: |
Thu, 29 Dec 2022 20:23:56 +0000 |
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.
---
mumi/xapian.scm | 1 -
1 file changed, 1 deletion(-)
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))
--
2.38.1
- [bug#60410] [PATCH 0/7] mumi: Boolean prefixes in xapian indexing and others, Arun Isaac, 2022/12/29
- [bug#60410] [PATCH 1/7] xapian: Index several terms as boolean and without positions., Arun Isaac, 2022/12/29
- [bug#60410] [PATCH 4/7] messages: Remove unused set intersection feature in search-bugs., Arun Isaac, 2022/12/29
- [bug#60410] [PATCH 5/7] messages: Offload limiting search results to xapian., Arun Isaac, 2022/12/29
- [bug#60410] [PATCH 7/7] xapian: Preserve order of search results., Arun Isaac, 2022/12/29
- [bug#60410] [PATCH 3/7] xapian: Do not override the default OR implicit query operator.,
Arun Isaac <=
- [bug#60410] [PATCH 2/7] xapian: Declare some prefixes as boolean., Arun Isaac, 2022/12/29
- [bug#60410] [PATCH 6/7] cache: Specify that cache! returns the cached value., Arun Isaac, 2022/12/29