Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/gdatastore
diff options
context:
space:
mode:
authorSascha Silbe <sascha-pgp@silbe.org>2018-01-04 20:24:51 (GMT)
committer Sascha Silbe <sascha-pgp@silbe.org>2018-01-04 20:24:51 (GMT)
commita475e4f730a6a60722aaf9ac3f43a4e7d0694b28 (patch)
tree19d2998abd85a737e210a6830c93601e2f480f61 /gdatastore
parentf94f922497fa7659a98ace96f56a88196a1b3c81 (diff)
Add support for matching against unknown properties in dictHEADmaster
We are already indexing "unknown" (i.e. non-standard) properties so there's no reason not to support performing exact matches against them.
Diffstat (limited to 'gdatastore')
-rw-r--r--gdatastore/index.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdatastore/index.py b/gdatastore/index.py
index 849824f..6651856 100644
--- a/gdatastore/index.py
+++ b/gdatastore/index.py
@@ -206,8 +206,8 @@ class QueryParser(xapian.QueryParser):
info = _STANDARD_VALUES[name]
query = self._parse_query_value(info, value)
else:
- logging.warning('Unknown term: %r=%r', name, value)
- continue
+ prefix = _prefix_for_unknown(name)
+ query = self._parse_query_term(prefix, value)
queries.append(query)