@Deprecated public class LuceneIndexDefinition extends java.lang.Object implements IndexDefinition
Constructor and Description |
---|
LuceneIndexDefinition(java.lang.String indexName,
java.util.List<AggregationRule> aggregationRules,
java.util.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(java.lang.String indexName, java.util.List<AggregationRule> aggregationRules, java.util.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 © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"