onDocumentAdded(Key key)
onDocumentAdded method is called after document is added and all its
elements are processed.

void

onDocumentDeleted(Key key)
onDocumentDeleted method is called after document is deleted and all its
elements are processed.

void

onNameAdded(IndexPattern pattern,
Key key,
short elemID,
short attrID)
onNameAdded called for every element/attribute in the document being added
that matches any of the Indexer pattern.

void

onNameDeleted(IndexPattern pattern,
Key key,
short elemID,
short attrID)
onNameDeleted called for every element/attribute in the document being deleted
that matches any of the Indexer pattern.

void

onValueAdded(IndexPattern pattern,
String value,
Key key,
int pos,
int len,
short elemID,
short attrID)
onValueAdded called for every element/attribute in the document being added
that matches any of the Indexer pattern.

void

onValueDeleted(IndexPattern pattern,
String value,
Key key,
int pos,
int len,
short elemID,
short attrID)
onValueDeleted called for every element/attribute in the document being deleted
that matches any of the Indexer pattern.

BasicIndexerEventHandler

onDocumentAdded

onDocumentAdded method is called after document is added and all its
elements are processed. This method will be called regardless of
Indexer patterns, even if no elements/attributes in that document
matches any of Indexer patterns.

onDocumentDeleted

onDocumentDeleted method is called after document is deleted and all its
elements are processed. This method will be called regardless of Indexer
patterns, even if no elements/attributes in that document matches any of
Indexer patterns.