[Zope-Checkins] CVS: Zope2 - UnTextIndex.py:1.28.4.2
Chris Petrilli
petrilli@digicool.com
Tue, 31 Oct 2000 11:51:21 -0500 (EST)
Update of /cvs-repository/Zope2/lib/python/SearchIndex
In directory korak.digicool.com:/home/petrilli/src/Zope2/lib/python/SearchIndex
Modified Files:
Tag: petrilli-ZCatalog
UnTextIndex.py
Log Message:
Cleaned up a bit more code, and added the code to require that if we
are going to index this object (i.e. it has something we're interested
in), then we have to first unindex it. This isn't "ideal" code---we
should do a merge most likely---but given the low write rate of most
sites, this is good enough to force it to be consistent. This should
resolve the problem Jim discovered in the indexes that allow you to
bring the forward and reverse index out of sync.