public class JahiaIndexingConfigurationImpl
extends org.apache.jackrabbit.core.query.lucene.IndexingConfigurationImpl
IndexingConfiguration implementation.| Modifier and Type | Field and Description |
|---|---|
static String |
FULL_SPELLCHECK_FIELD_NAME
Should match value used in indexing_configuration.xml
|
| Constructor and Description |
|---|
JahiaIndexingConfigurationImpl() |
| Modifier and Type | Method and Description |
|---|---|
LanguageCustomizingAnalyzerRegistry |
getAnalyzerRegistry() |
Set<org.apache.jackrabbit.spi.Name> |
getExcludesFromI18NCopy() |
Set<org.apache.jackrabbit.core.query.lucene.JahiaIndexingConfigurationImpl.ExcludedType> |
getExcludesTypesByPath() |
Set<org.apache.jackrabbit.spi.Name> |
getHierarchicalNodetypes() |
float |
getNodeBoost(org.apache.jackrabbit.core.state.NodeState state) |
org.apache.lucene.analysis.Analyzer |
getPropertyAnalyzer(String fieldName)
Returns the analyzer configured for the property with this fieldName
(the string representation ,JCR-style name, of the given
Name
prefixed with FieldNames.FULLTEXT_PREFIX)),
and null if none is configured, or the configured analyzer
cannot be found. |
float |
getPropertyBoost(org.apache.jackrabbit.core.state.NodeState state,
org.apache.jackrabbit.spi.Name propertyName) |
void |
init(Element config,
org.apache.jackrabbit.core.query.QueryHandlerContext context,
org.apache.jackrabbit.core.query.lucene.NamespaceMappings nsMappings) |
boolean |
isIncludedInNodeScopeIndex(org.apache.jackrabbit.core.state.NodeState state,
org.apache.jackrabbit.spi.Name propertyName) |
boolean |
isIndexed(org.apache.jackrabbit.core.state.NodeState state,
org.apache.jackrabbit.spi.Name propertyName) |
boolean |
shouldPropertyBeSpellchecked(String propertyName) |
boolean |
useInExcerpt(org.apache.jackrabbit.core.state.NodeState state,
org.apache.jackrabbit.spi.Name propertyName) |
public static final String FULL_SPELLCHECK_FIELD_NAME
public Set<org.apache.jackrabbit.spi.Name> getExcludesFromI18NCopy()
public Set<org.apache.jackrabbit.core.query.lucene.JahiaIndexingConfigurationImpl.ExcludedType> getExcludesTypesByPath()
public Set<org.apache.jackrabbit.spi.Name> getHierarchicalNodetypes()
public org.apache.lucene.analysis.Analyzer getPropertyAnalyzer(String fieldName)
Name
prefixed with FieldNames.FULLTEXT_PREFIX)),
and null if none is configured, or the configured analyzer
cannot be found. If null is returned, the default Analyzer
is used.getPropertyAnalyzer in interface org.apache.jackrabbit.core.query.lucene.IndexingConfigurationgetPropertyAnalyzer in class org.apache.jackrabbit.core.query.lucene.IndexingConfigurationImplfieldName - the string representation ,JCR-style name, of the given Name
prefixed with FieldNames.FULLTEXT_PREFIX))analyzer to use for indexing this propertypublic void init(Element config, org.apache.jackrabbit.core.query.QueryHandlerContext context, org.apache.jackrabbit.core.query.lucene.NamespaceMappings nsMappings) throws Exception
init in interface org.apache.jackrabbit.core.query.lucene.IndexingConfigurationinit in class org.apache.jackrabbit.core.query.lucene.IndexingConfigurationImplExceptionpublic boolean isIndexed(org.apache.jackrabbit.core.state.NodeState state,
org.apache.jackrabbit.spi.Name propertyName)
isIndexed in interface org.apache.jackrabbit.core.query.lucene.IndexingConfigurationisIndexed in class org.apache.jackrabbit.core.query.lucene.IndexingConfigurationImplpublic float getPropertyBoost(org.apache.jackrabbit.core.state.NodeState state,
org.apache.jackrabbit.spi.Name propertyName)
getPropertyBoost in interface org.apache.jackrabbit.core.query.lucene.IndexingConfigurationgetPropertyBoost in class org.apache.jackrabbit.core.query.lucene.IndexingConfigurationImplpublic float getNodeBoost(org.apache.jackrabbit.core.state.NodeState state)
getNodeBoost in interface org.apache.jackrabbit.core.query.lucene.IndexingConfigurationgetNodeBoost in class org.apache.jackrabbit.core.query.lucene.IndexingConfigurationImplpublic boolean isIncludedInNodeScopeIndex(org.apache.jackrabbit.core.state.NodeState state,
org.apache.jackrabbit.spi.Name propertyName)
isIncludedInNodeScopeIndex in interface org.apache.jackrabbit.core.query.lucene.IndexingConfigurationisIncludedInNodeScopeIndex in class org.apache.jackrabbit.core.query.lucene.IndexingConfigurationImplpublic boolean useInExcerpt(org.apache.jackrabbit.core.state.NodeState state,
org.apache.jackrabbit.spi.Name propertyName)
useInExcerpt in interface org.apache.jackrabbit.core.query.lucene.IndexingConfigurationuseInExcerpt in class org.apache.jackrabbit.core.query.lucene.IndexingConfigurationImplpublic boolean shouldPropertyBeSpellchecked(String propertyName)
public LanguageCustomizingAnalyzerRegistry getAnalyzerRegistry()
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.