From 1763de1a12130be6ef5404c712a11308244e20b4 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Wed, 12 Sep 2007 15:02:00 +0000 Subject: #3374: Don't create another entry during async update. --- 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 -- cgit v0.9.1