diff options
author | Benjamin Saller <bcsaller@objectrealms.net> | 2007-10-05 19:44:36 (GMT) |
---|---|---|
committer | Benjamin Saller <bcsaller@objectrealms.net> | 2007-10-05 19:44:36 (GMT) |
commit | 0627257ae53307ce325ce2c6f3be3fa2194d256f (patch) | |
tree | 522bb7aa77b877916e3c9c6e8598c35db739cb02 | |
parent | 64abebe3983108e70d3e65b87268ad09d442cf74 (diff) |
force a flush on stop() to the indexer
-rw-r--r-- | src/olpc/datastore/xapianindex.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/olpc/datastore/xapianindex.py b/src/olpc/datastore/xapianindex.py index 99e24f9..cc02b0a 100644 --- a/src/olpc/datastore/xapianindex.py +++ b/src/olpc/datastore/xapianindex.py @@ -114,6 +114,7 @@ class IndexManager(object): def stop(self, force=False): + self.flush(force=True) self.stopIndexer(force) self.write_index.close() #self.read_index.close() |