Class IndexOptimizer

java.lang.Object
com.logicaldoc.core.task.Task
com.logicaldoc.core.searchengine.IndexOptimizer
All Implemented Interfaces:
Runnable

@Component("IndexOptimizer") public class IndexOptimizer extends Task
This task optimises all indexes
Since:
3.5.0
Author:
Marco Meschieri - LogicalDOC
  • Field Details

  • Constructor Details

    • IndexOptimizer

      public IndexOptimizer()
  • Method Details

    • getIndexer

      public SearchEngine getIndexer()
    • setIndexer

      public void setIndexer(SearchEngine indexer)
    • isIndeterminate

      public boolean isIndeterminate()
      Description copied from class: Task
      Concrete implementations must override this method declaring if the task is indeterminate. An indeterminate task is not able to compute it's time length
      Specified by:
      isIndeterminate in class Task
      Returns:
      true if the task is indeterminate
    • isConcurrent

      public boolean isConcurrent()
      Description copied from class: Task
      Concrete implementations must override this method declaring if the task supports multiple instances running concurrently.
      Specified by:
      isConcurrent in class Task
      Returns:
      true if the task is concurrent
    • setDocumentDao

      public void setDocumentDao(DocumentDAO documentDao)