Class IndexingControl

java.lang.Object
com.atlassian.jira.testkit.client.RestApiClient<IndexingControl>
com.atlassian.jira.testkit.client.BackdoorControl<IndexingControl>
com.atlassian.jira.functest.framework.backdoor.BackdoorControl<IndexingControl>
com.atlassian.jira.functest.framework.backdoor.IndexingControl

public class IndexingControl extends BackdoorControl<IndexingControl>
Backdoor control for indexing.
Since:
v5.2
  • Constructor Details

  • Method Details

    • startInBackground

      @Nonnull public IndexingControl.IndexingProgress startInBackground()
    • startInBackground

      @Nonnull public IndexingControl.IndexingProgress startInBackground(IssueIndexingParams issueIndexingParams)
    • startStopTheWorldReIndex

      @Nonnull public IndexingControl.IndexingProgress startStopTheWorldReIndex()
      Initiate a stop-the-world foreground re-index
      Returns:
      a progress monitor
    • isReindexTaskSuccessful

      @Nullable public Boolean isReindexTaskSuccessful(String taskId)
    • getIndexingTaskProgress

      @Nullable public int getIndexingTaskProgress(String taskId)
    • getInBackgroundProgress

      @Nonnull public IndexingControl.IndexingProgress getInBackgroundProgress()
    • getProjectIndexingProgress

      @Nonnull public IndexingControl.IndexingProgress getProjectIndexingProgress(Long projectId)
    • isIndexConsistent

      public boolean isIndexConsistent()
    • isIndexUpdatedFieldConsistent

      public boolean isIndexUpdatedFieldConsistent()
    • deleteIndex

      public void deleteIndex()
    • deleteIndexDirectory

      public void deleteIndexDirectory(boolean issues, boolean comments, boolean worklogs, boolean history)
    • deindex

      public void deindex(String issueKey)
    • indexDummyIssue

      public void indexDummyIssue(long id, long projectId, String issueType, String issueKey, String summary, String desc)
    • temporaryIndex

      public void temporaryIndex(String issueKey)
    • reindexAll

      public void reindexAll()
    • reindexProject

      public void reindexProject(Long projectId)
    • makeReindexRequest

      public Long makeReindexRequest(ReindexRequestType type, String query, SharedEntityType... sharedEntityTypes)
    • clearPendingReindexRequests

      public Long clearPendingReindexRequests()
    • callPeriodicStats

      public void callPeriodicStats()
    • startScheduledReindex

      public void startScheduledReindex()
      Start the scheduled reindex
    • pauseScheduledReindex

      public void pauseScheduledReindex()
      Pause the scheduled reindex
    • startIndexRepairService

      public void startIndexRepairService()
      Start the index repair service running in background - Lucene specific
    • pauseIndexRepairService

      public void pauseIndexRepairService()
      Pause the index repair service running in background - Lucene specific
    • startOpenSearchReplayService

      public void startOpenSearchReplayService()
      Start the index replay service running in background - OpenSearch specific
    • pauseOpenSearchReplayService

      public void pauseOpenSearchReplayService()
      Pause the index replay service running in background - OpenSearch specific
    • replayIndex

      public void replayIndex()
    • refresh

      public void refresh()