Class GlobalSearchIndexerImpl

java.lang.Object
com.axelor.search.impl.GlobalSearchIndexerImpl
All Implemented Interfaces:
GlobalSearchIndexer

public class GlobalSearchIndexerImpl extends Object implements GlobalSearchIndexer
  • Constructor Details

    • GlobalSearchIndexerImpl

      public GlobalSearchIndexerImpl()
  • Method Details

    • start

      public CompletionStage<?> start(boolean drop)
      Description copied from interface: GlobalSearchIndexer
      Start the indexing process in the background.
      Specified by:
      start in interface GlobalSearchIndexer
      Parameters:
      drop - whether to drop existing index before starting the process.
      Returns:
      CompletionStage to react to the completion of the indexing task.
    • start

      public CompletionStage<?> start(boolean drop, String tenant)
      Description copied from interface: GlobalSearchIndexer
      Start the indexing process for the given tenant in the background.
      Specified by:
      start in interface GlobalSearchIndexer
      Parameters:
      drop - whether to drop existing index before starting the process.
      tenant - the tenant
      Returns:
      CompletionStage to react to the completion of the indexing task.