diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-09-12 15:02:00 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-09-12 15:02:00 (GMT) |
commit | 1763de1a12130be6ef5404c712a11308244e20b4 (patch) | |
tree | a9487ea5385b6a9f4e8abb886b165c836c133e72 | |
parent | 85bff40a8ddbd1bf056bc20aa3264ca11344c5e8 (diff) |
#3374: Don't create another entry during async update.
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/olpc/datastore/xapianindex.py | 5 |
2 files changed, 7 insertions, 0 deletions
@@ -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 |