public final class IndexDefinition extends Object implements Aggregate.AggregateMapper
| Modifier and Type | Class and Description |
|---|---|
static class |
IndexDefinition.Builder |
class |
IndexDefinition.IndexingRule |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAX_FIELD_LENGTH
Default value for property
maxFieldLength. |
| Constructor and Description |
|---|
IndexDefinition(NodeState root,
NodeState defn,
String indexPath) |
public static final int DEFAULT_MAX_FIELD_LENGTH
maxFieldLength.public static IndexDefinition.Builder newBuilder(NodeState root, NodeState defn, String indexPath)
public NodeState getDefinitionNodeState()
public boolean isFullTextEnabled()
public String getFunctionName()
public boolean hasFunctionDefined()
public int getBlobSize()
public 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 Analyzer getAnalyzer()
public boolean hasCustomTikaConfig()
public InputStream getTikaConfig()
public String getIndexName()
public int getMaxExtractLength()
public String getScorerProviderName()
public boolean saveDirListing()
public PathFilter getPathFilter()
public String[] getQueryPaths()
public String getUniqueId()
public boolean isNRTIndexingEnabled()
public boolean isSyncIndexingEnabled()
public static boolean hasPersistedIndex(NodeState definition)
definition - nodestate for Index Definitionpublic static boolean isDisableStoredIndexDefinition()
public static void setDisableStoredIndexDefinition(boolean disableStoredIndexDefinitionDefault)
public org.apache.jackrabbit.oak.plugins.index.lucene.Aggregate getAggregate(String nodeType)
getAggregate in interface Aggregate.AggregateMapperpublic boolean hasMatchingNodeTypeReg(NodeState root)
public List<IndexDefinition.IndexingRule> getDefinedRules()
public IndexDefinition.IndexingRule getApplicableIndexingRule(String primaryNodeType)
public IndexDefinition.IndexingRule getApplicableIndexingRule(NodeState state)
state.state - a node state.null if none applies.public boolean isSuggestEnabled()
public boolean isSpellcheckEnabled()
public String getIndexPath()
public boolean isSuggestAnalyzed()
public boolean isSecureFacets()
public int getNumberOfTopFacets()
public static NodeBuilder updateDefinition(NodeBuilder indexDefn)
public static NodeBuilder updateDefinition(NodeBuilder indexDefn, String indexPath)
public boolean getActiveDeleteEnabled()
public static boolean supportsSyncOrNRTIndexing(NodeBuilder defn)
"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"