Class LuceneIndexDefinition

    • Constructor Detail

      • LuceneIndexDefinition

        public LuceneIndexDefinition​(String indexName,
                                     List<AggregationRule> aggregationRules,
                                     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