Class ReIndexSpec

java.lang.Object
com.atlassian.confluence.index.ReIndexSpec

@ExperimentalApi public class ReIndexSpec extends Object
Specifies how to reindex quickly a large amount of contents that is useful for a plugin that creates its own CustomContentEntityObject.
Since:
7.0
  • Constructor Details

    • ReIndexSpec

      public ReIndexSpec(SearchQuery deleteQuery, int concurrencyLevel, List<HibernateHandle> handles, String name)
    • ReIndexSpec

      public ReIndexSpec(SearchQuery deleteQuery, int concurrencyLevel, List<HibernateHandle> handles, String name, boolean shouldOptimize)
      Since:
      8.2.0
    • ReIndexSpec

      public ReIndexSpec(SearchQuery deleteQuery, int concurrencyLevel, List<HibernateHandle> handles, String name, boolean shouldOptimize, boolean resetJournal)
      Parameters:
      resetJournal - if true reindex process is to reset journal entry pointer upon successful completion
      Since:
      9.0
  • Method Details

    • getDeleteQuery

      public SearchQuery getDeleteQuery()
    • getConcurrencyLevel

      public int getConcurrencyLevel()
    • getHandles

      public List<HibernateHandle> getHandles()
    • getName

      public String getName()
    • shouldOptimize

      public boolean shouldOptimize()
    • shouldResetJournal

      public boolean shouldResetJournal()