diff --git a/roundup/indexer.py b/roundup/indexer.py
index 814425a5848798585704549ad35f965be45e19c8..74bfcafb9e3176ed17e632e75866354b82d18049 100644 (file)
--- a/roundup/indexer.py
+++ b/roundup/indexer.py
# that promote freedom, but obviously am giving up any rights
# to compel such.
#
-#$Id: indexer.py,v 1.10 2002-07-14 23:17:24 richard Exp $
+#$Id: indexer.py,v 1.12 2002-07-19 03:36:33 richard Exp $
'''
This module provides an indexer class, RoundupIndexer, that stores text
indices in a roundup instance. This class makes searching the content of
elif os.path.exists(version):
version = open(version).read()
# check the value and reindex if it's not the latest
- if version != '1':
+ if version.strip() != '1':
self.force_reindex()
def force_reindex(self):
def purge_entry(self, identifier):
''' Remove a file from file index and word index
'''
+ self.load_index()
+
if not self.files.has_key(identifier):
return
#
#$Log: not supported by cvs2svn $
+#Revision 1.11 2002/07/18 11:17:30 gmcm
+#Add Number and Boolean types to hyperdb.
+#Add conversion cases to web, mail & admin interfaces.
+#Add storage/serialization cases to back_anydbm & back_metakit.
+#
+#Revision 1.10 2002/07/14 23:17:24 richard
+#oops
+#
#Revision 1.9 2002/07/14 06:11:16 richard
#Some TODOs
#