Re: [Zope] ZCatalog uniqueValuesFor
12 Jan
2001
12 Jan
'01
10:46 p.m.
aZaZel writes:
... "uniqueValuesFor" not updated after modification ... Almost surely a small bug in ZCatalog.
A field index is implemented as a mapping from values to lists of documents. "uniqueValuesFor" returns this mapping's "keys()". When the field value of a document changes, this document is removed from the corresponding list. Obviously, a test is missing whether the result is the empty list. If it is, the key should be deleted. Probably, you can fix this yourself. The code is in "SearchIndex.UnIndex". If you fixed it, file a bug with patch report into the Collector. Dieter
9215
Age (days ago)
9215
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer