- All Implemented Interfaces:
- ReIndexer
public class ReIndexerImpl
extends Object
implements ReIndexer
Note about live re-indexation handling :
- Data races may arise... If you modify the stored value between the received event check and the index operation,
you have an inconsistent behavior.
This class is more about supporting changes in real time for future indexed values. If you change a flags / delete
mails for instance, you will see it in the indexed value !
Why only care about updates and deletions ? Additions are already handled by the indexer that behaves normaly. We
should just "adapt" our indexed value to the latest value, if any. The normal indexer will take care of new stuff.