Interface IndexingContext


public interface IndexingContext
  • Method Summary

    Modifier and Type
    Method
    Description
    Commit info associated with commit as part of which IndexEditor is being invoked
    Path of the index definition in the repository
    void
    Invoked by IndexEditor to indicate that update of index has failed
    boolean
    Flag indicating that indexed is being done asynchronously
    boolean
    Flag indicating that index is being reindex
    void
    registers IndexCommitCallback 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

      void indexUpdateFailed(Exception e)
      Invoked by IndexEditor to indicate that update of index has failed
      Parameters:
      e - exception stack for failed updated
    • registerIndexCommitCallback

      void registerIndexCommitCallback(IndexCommitCallback callback)
      registers IndexCommitCallback instance which can then be notified of how indexing commit progresses.
      Parameters:
      callback -