Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Silbe <sascha-pgp@silbe.org>2011-08-22 18:25:19 (GMT)
committer Sascha Silbe <sascha-pgp@silbe.org>2011-08-22 18:25:19 (GMT)
commitf01eb1e28d04facfe02e895bb68dd71b1e53bf2b (patch)
tree4d53c7726fb5892591344a57135804e57ef4b5dc
parent028e410af82b407a48f6c6b676d026f6c24077f9 (diff)
Fix indexing on non-standard properties
We accidentally used the value as prefix and vice-versa.
-rw-r--r--gdatastore/index.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdatastore/index.py b/gdatastore/index.py
index 9b43541..616eb81 100644
--- a/gdatastore/index.py
+++ b/gdatastore/index.py
@@ -100,7 +100,7 @@ class TermGenerator(xapian.TermGenerator):
if name in _IGNORE_PROPERTIES or name in _STANDARD_VALUES:
continue
- self._index_property(_prefix_for_unknown(name), value)
+ self._index_property(value, _prefix_for_unknown(name))
def _index_property(self, value, prefix):
if isinstance(value, unicode):