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-09-12 15:02:00 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-09-12 15:02:00 (GMT)
commit1763de1a12130be6ef5404c712a11308244e20b4 (patch)
treea9487ea5385b6a9f4e8abb886b165c836c133e72
parent85bff40a8ddbd1bf056bc20aa3264ca11344c5e8 (diff)
#3374: Don't create another entry during async update.
-rw-r--r--NEWS2
-rw-r--r--src/olpc/datastore/xapianindex.py5
2 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 7a5150d..8010e59 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+* #3058: Disable content indexing for Trial-3. (tomeu)
+
Snapshot b0b4c4115a
* #3324: Fix updates of entries with associated files. (tomeu)
diff --git a/src/olpc/datastore/xapianindex.py b/src/olpc/datastore/xapianindex.py
index d653f0e..eec1a01 100644
--- a/src/olpc/datastore/xapianindex.py
+++ b/src/olpc/datastore/xapianindex.py
@@ -153,6 +153,11 @@ class IndexManager(object):
self.write_index.replace(doc)
logger.info("updated %s:%s" % (uid, vid))
self.flush()
+
+ # Disable content indexing for Trial-3.
+ # https://dev.laptop.org/ticket/3058
+ return
+
# now change CREATE to UPDATE as we set the
# properties already
operation = UPDATE