Interface IndexingContext
public interface IndexingContext
-
Method Summary
Modifier and TypeMethodDescriptionCommit info associated with commit as part of which IndexEditor is being invokedPath of the index definition in the repositoryvoid
Invoked by IndexEditor to indicate that update of index has failedboolean
isAsync()
Flag indicating that indexed is being done asynchronouslyboolean
Flag indicating that index is being reindexvoid
registersIndexCommitCallback
instance which can then be notified of how indexing commit progresses.
-
Method Details
-
getIndexPath
String getIndexPath()Path of the index definition in the repository- Returns:
- index path in the repository
-
getCommitInfo
CommitInfo getCommitInfo()Commit info associated with commit as part of which IndexEditor is being invoked -
isReindexing
boolean isReindexing()Flag indicating that index is being reindex -
isAsync
boolean isAsync()Flag indicating that indexed is being done asynchronously -
indexUpdateFailed
Invoked by IndexEditor to indicate that update of index has failed- Parameters:
e
- exception stack for failed updated
-
registerIndexCommitCallback
registersIndexCommitCallback
instance which can then be notified of how indexing commit progresses.- Parameters:
callback
-
-