public class LuceneIndexDefinition extends Object implements IndexDefinition
Constructor and Description |
---|
LuceneIndexDefinition(String indexName,
List<AggregationRule> aggregationRules,
List<IndexRule> indexRules)
Initializes LuceneIndexDefinition with given aggregation and index rules
|
public LuceneIndexDefinition(String indexName, List<AggregationRule> aggregationRules, List<IndexRule> indexRules)
indexName
- indexName with which the index will be saved in repositoryaggregationRules
- list of AggregationRuleindexRules
- list of IndexRulepublic boolean build(Resource resource)
build
in interface IndexDefinition
resource
- Resource under which the IndexDefinition is to be
createdpublic boolean build(Resource resource, boolean reindex)
build
in interface IndexDefinition
resource
- Resource under which the IndexDefinition is to be
createdreindex
- Triggers re-indexing process"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"