Class LuceneIndexDefinition

  • All Implemented Interfaces:
    IndexDefinition

    @Deprecated
    public class LuceneIndexDefinition
    extends java.lang.Object
    implements IndexDefinition
    Deprecated.
    Represents Oak Lucene Index Definition
    • Constructor Summary

      Constructors 
      Constructor Description
      LuceneIndexDefinition​(java.lang.String indexName, java.util.List<AggregationRule> aggregationRules, java.util.List<IndexRule> indexRules)
      Deprecated.
      Initializes LuceneIndexDefinition with given aggregation and index rules
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean build​(Resource resource)
      Deprecated.
      Creates the IndexDefinition under given resource
      boolean build​(Resource resource, boolean reindex)
      Deprecated.
      Creates the IndexDefinition under given resource and initiates indexing process
      • Methods inherited from class java.lang.Object

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

      • LuceneIndexDefinition

        public LuceneIndexDefinition​(java.lang.String indexName,
                                     java.util.List<AggregationRule> aggregationRules,
                                     java.util.List<IndexRule> indexRules)
        Deprecated.
        Initializes LuceneIndexDefinition with given aggregation and index rules
        Parameters:
        indexName - indexName with which the index will be saved in repository
        aggregationRules - list of AggregationRule
        indexRules - list of IndexRule
    • Method Detail

      • build

        public boolean build​(Resource resource)
        Deprecated.
        Creates the IndexDefinition under given resource
        Specified by:
        build in interface IndexDefinition
        Parameters:
        resource - Resource under which the IndexDefinition is to be created
      • build

        public boolean build​(Resource resource,
                             boolean reindex)
        Deprecated.
        Creates the IndexDefinition under given resource and initiates indexing process
        Specified by:
        build in interface IndexDefinition
        Parameters:
        resource - Resource under which the IndexDefinition is to be created
        reindex - Triggers re-indexing process