Class LuceneIndexHelper


  • public class LuceneIndexHelper
    extends org.apache.jackrabbit.oak.plugins.index.search.util.IndexHelper
    • Constructor Detail

      • LuceneIndexHelper

        public LuceneIndexHelper()
    • Method Detail

      • newLuceneIndexDefinition

        public static NodeBuilder newLuceneIndexDefinition​(@NotNull
                                                           @NotNull NodeBuilder index,
                                                           @NotNull
                                                           @NotNull String name,
                                                           @Nullable
                                                           @Nullable Set<String> propertyTypes)
      • newLuceneIndexDefinition

        public static NodeBuilder newLuceneIndexDefinition​(@NotNull
                                                           @NotNull NodeBuilder index,
                                                           @NotNull
                                                           @NotNull String name,
                                                           @Nullable
                                                           @Nullable Set<String> propertyTypes,
                                                           @Nullable
                                                           @Nullable Set<String> excludes,
                                                           @Nullable
                                                           @Nullable String async)
      • newLuceneIndexDefinition

        public static NodeBuilder newLuceneIndexDefinition​(@NotNull
                                                           @NotNull NodeBuilder index,
                                                           @NotNull
                                                           @NotNull String name,
                                                           @Nullable
                                                           @Nullable Set<String> propertyTypes,
                                                           @Nullable
                                                           @Nullable Set<String> excludes,
                                                           @Nullable
                                                           @Nullable String async,
                                                           @Nullable
                                                           @Nullable Boolean stored)
      • newLuceneFileIndexDefinition

        public static NodeBuilder newLuceneFileIndexDefinition​(@NotNull
                                                               @NotNull NodeBuilder index,
                                                               @NotNull
                                                               @NotNull String name,
                                                               @Nullable
                                                               @Nullable Set<String> propertyTypes,
                                                               @NotNull
                                                               @NotNull String path)
      • newLuceneFileIndexDefinition

        public static NodeBuilder newLuceneFileIndexDefinition​(@NotNull
                                                               @NotNull NodeBuilder index,
                                                               @NotNull
                                                               @NotNull String name,
                                                               @Nullable
                                                               @Nullable Set<String> propertyTypes,
                                                               @Nullable
                                                               @Nullable Set<String> excludes,
                                                               @NotNull
                                                               @NotNull String path,
                                                               @Nullable
                                                               @Nullable String async)
      • newLucenePropertyIndexDefinition

        public static NodeBuilder newLucenePropertyIndexDefinition​(@NotNull
                                                                   @NotNull NodeBuilder index,
                                                                   @NotNull
                                                                   @NotNull String name,
                                                                   @NotNull
                                                                   @NotNull Set<String> includes,
                                                                   @NotNull
                                                                   @NotNull String async)
      • isLuceneIndexNode

        public static boolean isLuceneIndexNode​(NodeState node)