public class IndexDefinition extends Object implements Aggregate.AggregateMapper
Modifier and Type | Class and Description |
---|---|
class |
IndexDefinition.IndexingRule |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_FIELD_LENGTH
Default value for property
maxFieldLength . |
Constructor and Description |
---|
IndexDefinition(org.apache.jackrabbit.oak.spi.state.NodeState root,
org.apache.jackrabbit.oak.spi.state.NodeBuilder defn) |
IndexDefinition(org.apache.jackrabbit.oak.spi.state.NodeState root,
org.apache.jackrabbit.oak.spi.state.NodeState defn) |
IndexDefinition(org.apache.jackrabbit.oak.spi.state.NodeState root,
org.apache.jackrabbit.oak.spi.state.NodeState defn,
org.apache.jackrabbit.oak.spi.state.NodeBuilder defnb,
String indexPath) |
IndexDefinition(org.apache.jackrabbit.oak.spi.state.NodeState root,
org.apache.jackrabbit.oak.spi.state.NodeState defn,
String indexPath) |
public static final int DEFAULT_MAX_FIELD_LENGTH
maxFieldLength
.public IndexDefinition(org.apache.jackrabbit.oak.spi.state.NodeState root, org.apache.jackrabbit.oak.spi.state.NodeState defn)
public IndexDefinition(org.apache.jackrabbit.oak.spi.state.NodeState root, org.apache.jackrabbit.oak.spi.state.NodeBuilder defn)
public IndexDefinition(org.apache.jackrabbit.oak.spi.state.NodeState root, org.apache.jackrabbit.oak.spi.state.NodeState defn, @Nullable String indexPath)
public IndexDefinition(org.apache.jackrabbit.oak.spi.state.NodeState root, org.apache.jackrabbit.oak.spi.state.NodeState defn, @Nullable org.apache.jackrabbit.oak.spi.state.NodeBuilder defnb, @Nullable String indexPath)
public boolean isFullTextEnabled()
public String getFunctionName()
public boolean hasFunctionDefined()
public int getBlobSize()
public org.apache.lucene.codecs.Codec getCodec()
public long getReindexCount()
public long getEntryCount()
public int getSuggesterUpdateFrequencyMinutes()
public boolean isEntryCountDefined()
public double getCostPerEntry()
public double getCostPerExecution()
public long getFulltextEntryCount(long numOfDocs)
public IndexFormatVersion getVersion()
public boolean isOfOldFormat()
public boolean isTestMode()
public boolean evaluatePathRestrictions()
public org.apache.lucene.analysis.Analyzer getAnalyzer()
public boolean hasCustomTikaConfig()
public InputStream getTikaConfig()
public String getIndexName()
public int getMaxExtractLength()
public String getScorerProviderName()
public boolean saveDirListing()
public org.apache.jackrabbit.oak.plugins.index.PathFilter getPathFilter()
@CheckForNull public org.apache.jackrabbit.oak.plugins.index.lucene.Aggregate getAggregate(String nodeType)
getAggregate
in interface Aggregate.AggregateMapper
public List<IndexDefinition.IndexingRule> getDefinedRules()
@CheckForNull public IndexDefinition.IndexingRule getApplicableIndexingRule(String primaryNodeType)
@CheckForNull public IndexDefinition.IndexingRule getApplicableIndexingRule(org.apache.jackrabbit.oak.api.Tree state)
state
.state
- a node state.null
if none applies.public boolean isSuggestEnabled()
public boolean isSpellcheckEnabled()
@CheckForNull public String getIndexPathFromConfig()
public boolean isSuggestAnalyzed()
public static org.apache.jackrabbit.oak.spi.state.NodeBuilder updateDefinition(org.apache.jackrabbit.oak.spi.state.NodeBuilder indexDefn)
Copyright © 2012-2018 The Apache Software Foundation. All Rights Reserved.