Package com.adobe.cq.dam.index.builder
Class LuceneIndexDefinition
- java.lang.Object
-
- com.adobe.cq.dam.index.builder.LuceneIndexDefinition
-
- All Implemented Interfaces:
IndexDefinition
@Deprecated public class LuceneIndexDefinition extends Object implements IndexDefinition
Deprecated.Represents Oak Lucene Index Definition
-
-
Constructor Summary
Constructors Constructor Description LuceneIndexDefinition(String indexName, List<AggregationRule> aggregationRules, 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 resourceboolean
build(Resource resource, boolean reindex)
Deprecated.Creates the IndexDefinition under given resource and initiates indexing process
-
-
-
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 repositoryaggregationRules
- list of AggregationRuleindexRules
- list of IndexRule
-
-
Method Detail
-
build
public boolean build(Resource resource)
Deprecated.Creates the IndexDefinition under given resource- Specified by:
build
in interfaceIndexDefinition
- 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 interfaceIndexDefinition
- Parameters:
resource
- Resource under which the IndexDefinition is to be createdreindex
- Triggers re-indexing process
-
-