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 IndexDefinitionresource - Resource under which the IndexDefinition is to be
createdpublic boolean build(Resource resource, boolean reindex)
build in interface IndexDefinitionresource - Resource under which the IndexDefinition is to be
createdreindex - Triggers re-indexing process"Copyright © 2010 - 2016 Adobe Systems Incorporated. All Rights Reserved"