public interface LuceneIndexConstants
Modifier and Type | Interface and Description |
---|---|
static class |
LuceneIndexConstants.IndexingMode |
Modifier and Type | Field and Description |
---|---|
static String |
AGG_PATH
Name of property which stores the aggregate include pattern like
jcr:content/metadata |
static String |
AGG_PRIMARY_TYPE |
static String |
AGG_RECURSIVE_LIMIT
Limit for maximum number of reaggregates allowed.
|
static String |
AGG_RELATIVE_NODE
Boolean property indicating that separate fulltext field should be created for
node represented by this pattern
|
static String |
AGGREGATES
Node name storing the aggregate rules
|
static org.apache.lucene.analysis.Analyzer |
ANALYZER |
static String |
ANALYZERS
Node name under which various analyzers are configured
|
static String |
ANL_CHAR_FILTERS |
static String |
ANL_CLASS |
static String |
ANL_DEFAULT
Name of the default analyzer definition node under 'analyzers' node
|
static String |
ANL_FILTERS |
static String |
ANL_LUCENE_MATCH_VERSION |
static String |
ANL_NAME |
static String |
ANL_STOPWORDS |
static String |
ANL_TOKENIZER |
static String |
BLOB_SIZE
Size in bytes used for splitting the index files when storing them in NodeStore
|
static String |
CODEC_NAME
Name of the codec to be used for indexing
|
static String |
COMPAT_MODE
Integer property indicating that LuceneIndex should be
used in compat mode to specific version
|
static String |
COST_PER_ENTRY |
static String |
COST_PER_EXECUTION |
static String |
EVALUATE_PATH_RESTRICTION |
static String |
EXCLUDE_PROPERTY_NAMES
exclude certain properties by name
|
static String |
EXPERIMENTAL_STORAGE
Experimental flag to control storage behavior: 'null' or 'true' means the content is stored
|
static String |
FACETS
Optional subnode holding configuration for facets.
|
static String |
FIELD_BOOST
Field boost factor
|
static String |
FULL_TEXT_ENABLED
Determines if full text indexing is enabled for this index definition.
|
static String |
FUNC_NAME
Native function name associated with this index definition.
|
static String |
INCLUDE_PROPERTY_NAMES
Only include properties with name in this set.
|
static String |
INCLUDE_PROPERTY_TYPES
include only certain property types in the index
|
static String |
INDEX_DATA_CHILD_NAME |
static String |
INDEX_NODE_NAME
IndexRule level config to indicate that Node name should also be index
to support fn:name() queries
|
static String |
INDEX_ORIGINAL_TERM
Boolean property indicating if in-built analyzer should preserve original term
(i.e.
|
static String |
INDEX_PATH
Deprecated.
With OAK-4152 no need to explicitly define indexPath property
|
static String |
INDEX_RULES |
static String |
MAX_FIELD_LENGTH
The maximum number of terms that will be indexed for a single field in a
document.
|
static String |
MERGE_POLICY_NAME
Name of the merge policy to be used while indexing
|
static String |
ORDERED_PROP_NAMES
Defines properties which would be used for ordering.
|
static String |
PERSISTENCE_FILE |
static String |
PERSISTENCE_NAME |
static String |
PERSISTENCE_OAK |
static String |
PERSISTENCE_PATH |
static String |
PROP_ANALYZED |
static String |
PROP_EXCLUDE_FROM_AGGREGATE
Boolean property indicate that property should not be included in aggregation
|
static String |
PROP_FACETS
Optional (property definition) property indicating whether facets should be created
for this property
|
static String |
PROP_FACETS_TOP_CHILDREN
Optional (index definition) property indicating max number of facets that will be retrieved
in query
Default is
IndexDefinition.DEFAULT_FACET_COUNT |
static String |
PROP_FUNCTION
String property: the function to index, for function-based index
|
static String |
PROP_INCLUDED_TYPE
Experimental config to restrict which property type gets indexed at
property definition level.
|
static String |
PROP_INDEX |
static String |
PROP_INDEX_NODE_TYPE
Boolean property to indicate that nodes nodetype matching indexRule name
should be indexed
|
static String |
PROP_IS_REGEX |
static String |
PROP_NAME
Property name defined explicitly.
|
static String |
PROP_NODE
Child node name under which property details are provided
|
static String |
PROP_NODE_SCOPE_INDEX |
static String |
PROP_NOT_NULL_CHECK_ENABLED
Property definition config indicating that this property would be used with
'IS NOT NULL' constraint
|
static String |
PROP_NULL_CHECK_ENABLED
Property definition config indicating that null check support should be
enabled for this property
|
static String |
PROP_ORDERED |
static String |
PROP_PROPERTY_INDEX |
static String |
PROP_REFRESH_DEFN
Boolean property which signal LuceneIndexEditor to refresh the stored index definition
|
static String |
PROP_SCORER_PROVIDER |
static String |
PROP_SECURE_FACETS
Optional (index definition) property indicating whether facets should be ACL checked.
|
static String |
PROP_SYNC
Boolean property in property definition to mark sync properties
|
static String |
PROP_TYPE
Type of the property being indexed defined as part of property definition
under the given index definition.
|
static String |
PROP_UNIQUE
Boolean property in property definition to mark unique properties
|
static String |
PROP_USE_IN_EXCERPT |
static String |
PROP_USE_IN_SPELLCHECK
whether use this property values for spellchecking
|
static String |
PROP_USE_IN_SUGGEST
whether use this property values for suggestions
|
static String |
PROP_WEIGHT |
static String |
PROPDEF_PROP_NODE_NAME
Property definition name to indicate indexing node name
Its value should match
FieldNames.NODE_NAME |
static String |
REGEX_ALL_PROPS
Regex to allow inclusion of all immediate properties of the node
|
static String |
RULE_INHERITED |
static String |
SAVE_DIR_LISTING
Boolean property indicating that Lucene directory content
should be saved as part of NodeState itself as a multi value property
to allow faster reads (OAK-2809)
|
static String |
SUGGEST_ANALYZED
Optional property to set the suggest field to be analyzed and therefore allow more fine
grained and flexible suggestions.
|
static String |
SUGGEST_DATA_CHILD_NAME |
static String |
SUGGEST_UPDATE_FREQUENCY_MINUTES
update frequency of the suggester in minutes
|
static String |
SUGGESTION_CONFIG
subnode holding configuration for suggestions
|
static String |
TEST_MODE
Boolean property to indicate that LuceneIndex is being used in testMode
and it should participate in every test
|
static String |
TIKA
Config node which include Tika related configuration
|
static String |
TIKA_CONFIG
nt:file node under 'tika' node which refers to the config xml file
|
static String |
TIKA_MAPPED_TYPE
Property name within the mime type structure which defines a mime type mapping
|
static String |
TIKA_MAX_EXTRACT_LENGTH |
static String |
TIKA_MIME_TYPES
Config node under tika which defines mime type mappings
|
static String |
TRASH_CHILD_NAME |
static String |
TYPE_LUCENE |
static org.apache.lucene.util.Version |
VERSION |
static final String TYPE_LUCENE
static final String INDEX_DATA_CHILD_NAME
static final String SUGGEST_DATA_CHILD_NAME
static final String TRASH_CHILD_NAME
static final org.apache.lucene.util.Version VERSION
static final org.apache.lucene.analysis.Analyzer ANALYZER
static final String INCLUDE_PROPERTY_TYPES
static final String EXCLUDE_PROPERTY_NAMES
static final String PERSISTENCE_NAME
static final String PERSISTENCE_OAK
static final String PERSISTENCE_FILE
static final String PERSISTENCE_PATH
static final String EXPERIMENTAL_STORAGE
static final String FULL_TEXT_ENABLED
static final String INCLUDE_PROPERTY_NAMES
excludePropertyNames
would be ignoredstatic final String PROP_TYPE
PropertyType
contants for the possible valuesstatic final String ORDERED_PROP_NAMES
static final String BLOB_SIZE
static final String FUNC_NAME
static final String CODEC_NAME
static final String MERGE_POLICY_NAME
static final String PROP_NODE
static final String INDEX_RULES
static final String FIELD_BOOST
static final String PROP_NAME
static final String PROP_IS_REGEX
static final String PROP_INDEX
static final String PROP_USE_IN_EXCERPT
static final String PROP_NODE_SCOPE_INDEX
static final String PROP_PROPERTY_INDEX
static final String PROP_ANALYZED
static final String RULE_INHERITED
static final String PROP_ORDERED
static final String PROP_SCORER_PROVIDER
static final String PROP_WEIGHT
static final String PROP_SYNC
static final String PROP_UNIQUE
static final String COMPAT_MODE
static final String TEST_MODE
static final String EVALUATE_PATH_RESTRICTION
static final String PROP_INCLUDED_TYPE
static final String REGEX_ALL_PROPS
static final String AGGREGATES
static final String AGG_PRIMARY_TYPE
static final String AGG_PATH
jcr:content/metadata
static final String AGG_RECURSIVE_LIMIT
static final String AGG_RELATIVE_NODE
static final String COST_PER_ENTRY
static final String COST_PER_EXECUTION
static final String INDEX_ORIGINAL_TERM
WordDelimiterFilter.PRESERVE_ORIGINAL
flag)static final String ANALYZERS
static final String ANL_DEFAULT
static final String ANL_FILTERS
static final String ANL_STOPWORDS
static final String ANL_TOKENIZER
static final String ANL_CHAR_FILTERS
static final String ANL_CLASS
static final String ANL_NAME
static final String ANL_LUCENE_MATCH_VERSION
static final String TIKA
static final String TIKA_CONFIG
static final String TIKA_MAX_EXTRACT_LENGTH
static final String TIKA_MIME_TYPES
static final String TIKA_MAPPED_TYPE
static final String MAX_FIELD_LENGTH
Note that this effectively truncates large documents, excluding from the index terms that occur further in the document. If you know your source documents are large, be sure to set this value high enough to accommodate the expected size. If you set it to Integer.MAX_VALUE, then the only limit is your memory, but you should anticipate an OutOfMemoryError.
By default, no more than 10,000 terms will be indexed for a field.
static final String PROP_USE_IN_SUGGEST
static final String SUGGESTION_CONFIG
static final String SUGGEST_UPDATE_FREQUENCY_MINUTES
static final String PROP_USE_IN_SPELLCHECK
static final String PROP_NULL_CHECK_ENABLED
static final String PROP_NOT_NULL_CHECK_ENABLED
static final String INDEX_NODE_NAME
static final String PROPDEF_PROP_NODE_NAME
FieldNames.NODE_NAME
static final String SAVE_DIR_LISTING
@Deprecated static final String INDEX_PATH
static final String FACETS
static final String SUGGEST_ANALYZED
static final String PROP_SECURE_FACETS
static final String PROP_FACETS_TOP_CHILDREN
IndexDefinition.DEFAULT_FACET_COUNT
static final String PROP_FACETS
static final String PROP_EXCLUDE_FROM_AGGREGATE
static final String PROP_FUNCTION
static final String PROP_REFRESH_DEFN
static final String PROP_INDEX_NODE_TYPE
Copyright © 2012–2017 The Apache Software Foundation. All rights reserved.