Interface IndexListener
-
public interface IndexListener
Defines an interface that allows implementing classes to listen for index changes (namely document deletes) while using aReadOnlyIndexReader
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
documentDeleted(Term id)
Informs this listener, that the document withid
has been deleted.
-
-
-
Method Detail
-
documentDeleted
void documentDeleted(Term id)
Informs this listener, that the document withid
has been deleted.- Parameters:
id
- theTerm
that identifies the deleted document.
-
-