Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-07-03 21:01:08 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-07-03 21:01:08 (GMT)
commita248b5cb7959195ca63265188bc9cc08c227dc09 (patch)
tree2b356e6e0c4a4cd85b39607e72c60bdc4cd2440f
parent5861bab5dfb673f97118b241e771e5671a64682b (diff)
Disable temporarily metadata indexing.
-rw-r--r--src/olpc/datastore/query.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/olpc/datastore/query.py b/src/olpc/datastore/query.py
index e450b5a..93a50b5 100644
--- a/src/olpc/datastore/query.py
+++ b/src/olpc/datastore/query.py
@@ -563,9 +563,11 @@ class XapianFulltext(object):
# currently this is still searched with the 'fulltext'
# parameter of find()
textprops = {}
+ """
content = self.get(uid)
for p in content.get_properties(type='text'):
textprops[p.key] = p.value and p.value or ''
+ """
return self._ft_index(uid, fp, piece, textprops)