Interface MassIndexer


  • public interface MassIndexer
    Component to rebuild the indexes from the existing data. This process starts by removing all existing indexes, and then a distributed task is executed to rebuild the indexes. This task can take a long time to run, depending on data size, used stores, indexing complexity.

    While reindexing is being performed queries should not be executed as they will very likely miss many or all results.

    Author:
    Sanne Grinovero <sanne@hibernate.org> (C) 2012 Red Hat Inc.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.concurrent.CompletableFuture<java.lang.Void> reindex​(java.lang.Object... keys)  
      void start()  
      java.util.concurrent.CompletableFuture<java.lang.Void> startAsync()  
    • Method Detail

      • start

        void start()
      • startAsync

        java.util.concurrent.CompletableFuture<java.lang.Void> startAsync()
        Returns:
        CompletableFuture
      • reindex

        java.util.concurrent.CompletableFuture<java.lang.Void> reindex​(java.lang.Object... keys)