Class LuceneIndexHelper


  • public class LuceneIndexHelper
    extends org.apache.jackrabbit.oak.plugins.index.search.util.IndexHelper
    • Field Summary

      • Fields inherited from class org.apache.jackrabbit.oak.plugins.index.search.util.IndexHelper

        JR_PROPERTY_INCLUDES
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isLuceneIndexNode​(NodeState node)  
      static NodeBuilder newLuceneFileIndexDefinition​(@NotNull NodeBuilder index, @NotNull java.lang.String name, @Nullable java.util.Set<java.lang.String> propertyTypes, @NotNull java.lang.String path)  
      static NodeBuilder newLuceneFileIndexDefinition​(@NotNull NodeBuilder index, @NotNull java.lang.String name, @Nullable java.util.Set<java.lang.String> propertyTypes, @Nullable java.util.Set<java.lang.String> excludes, @NotNull java.lang.String path, @Nullable java.lang.String async)  
      static NodeBuilder newLuceneIndexDefinition​(@NotNull NodeBuilder index, @NotNull java.lang.String name, @Nullable java.util.Set<java.lang.String> propertyTypes)  
      static NodeBuilder newLuceneIndexDefinition​(@NotNull NodeBuilder index, @NotNull java.lang.String name, @Nullable java.util.Set<java.lang.String> propertyTypes, @Nullable java.util.Set<java.lang.String> excludes, @Nullable java.lang.String async)  
      static NodeBuilder newLuceneIndexDefinition​(@NotNull NodeBuilder index, @NotNull java.lang.String name, @Nullable java.util.Set<java.lang.String> propertyTypes, @Nullable java.util.Set<java.lang.String> excludes, @Nullable java.lang.String async, @Nullable java.lang.Boolean stored)  
      static NodeBuilder newLucenePropertyIndexDefinition​(@NotNull NodeBuilder index, @NotNull java.lang.String name, @NotNull java.util.Set<java.lang.String> includes, @NotNull java.lang.String async)  
      • Methods inherited from class org.apache.jackrabbit.oak.plugins.index.search.util.IndexHelper

        isIndexNodeOfType, newFTFileIndexDefinition, newFTFileIndexDefinition, newFTIndexDefinition, newFTIndexDefinition, newFTIndexDefinition, newFTPropertyIndexDefinition, skipTokenization
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LuceneIndexHelper

        public LuceneIndexHelper()
    • Method Detail

      • newLuceneIndexDefinition

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

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

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

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

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

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

        public static boolean isLuceneIndexNode​(NodeState node)