Class LuceneInitializerHelper

java.lang.Object
org.apache.jackrabbit.oak.plugins.index.lucene.util.LuceneInitializerHelper
All Implemented Interfaces:
RepositoryInitializer

public class LuceneInitializerHelper extends Object implements RepositoryInitializer
  • Constructor Details

    • LuceneInitializerHelper

      public LuceneInitializerHelper(String name)
    • LuceneInitializerHelper

      public LuceneInitializerHelper(String name, Boolean storageEnabled)
    • LuceneInitializerHelper

      public LuceneInitializerHelper(String name, Set<String> propertyTypes)
    • LuceneInitializerHelper

      public LuceneInitializerHelper(String name, Set<String> propertyTypes, Set<String> excludes)
    • LuceneInitializerHelper

      public LuceneInitializerHelper(String name, Set<String> propertyTypes, String filePath)
    • LuceneInitializerHelper

      public LuceneInitializerHelper(String name, Set<String> propertyTypes, Set<String> excludes, String filePath, Boolean storageEnabled)
  • Method Details

    • async

      public LuceneInitializerHelper async()
      set the async property to "async".
      Returns:
    • async

      public LuceneInitializerHelper async(@NotNull @NotNull String async)
      will set the async property to the provided value
      Parameters:
      async -
      Returns:
    • initialize

      public void initialize(@NotNull @NotNull NodeBuilder builder)
      Description copied from interface: RepositoryInitializer
      Initializes repository content. This method is called as soon as a repository becomes available. Note that the repository may already have been initialized, so the implementation of this method should check for that before blindly adding new content.
      Specified by:
      initialize in interface RepositoryInitializer
      Parameters:
      builder - builder for accessing and modifying repository content