@Deprecated public class LuceneIndexDefinition extends Object implements IndexDefinition
| Constructor and Description |
|---|
LuceneIndexDefinition(String indexName,
List<AggregationRule> aggregationRules,
List<IndexRule> indexRules)
Deprecated.
Initializes LuceneIndexDefinition with given aggregation and index rules
|
| Modifier and Type | Method and 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
|
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 processCopyright © 2010 - 2020 Adobe. All Rights Reserved