def getCounter(self): """ return a counter which is increased on catalog changes """ processQueue() return self.__af_old_getCounter()
def unrestrictedSearchResults(self, REQUEST=None, **kw): """ flush the queue before querying the catalog """ processQueue() return self.__af_old_unrestrictedSearchResults(REQUEST, **kw)
def unindex(self, obj): result = orig_unindex(self, obj) processQueue() return result
def reindex(self, obj, attributes=None): result = orig_reindex(self, obj, attributes=attributes) processQueue() return result