Interface ProjectReindexService

All Known Implementing Classes:
DefaultProjectReindexServiceImpl, OpenSearchProjectReindexServiceImpl

public interface ProjectReindexService
Since:
v6.1
  • Method Details

    • reindex

      String reindex(Project project)
      Parameters:
      project - the project needs to be re-indexed
      Returns:
      the project reindex progress url
    • reindex

      String reindex(Project project, boolean shouldReplicate)
      Parameters:
      project - the project needs to be re-indexed
      shouldReplicate - whether the index changes should be replicated to the other nodes in the cluster.
      Returns:
      the project reindex progress url
    • isReindexPossible

      boolean isReindexPossible(Project project)
    • getRunningTask

      TaskDescriptor<IndexCommandResult> getRunningTask(Project project)