Interface LuceneIndexConstants

  • All Superinterfaces:
    org.apache.jackrabbit.oak.plugins.index.search.FulltextIndexConstants

    public interface LuceneIndexConstants
    extends org.apache.jackrabbit.oak.plugins.index.search.FulltextIndexConstants
    Constants used internally in Lucene indexes.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.jackrabbit.oak.plugins.index.search.FulltextIndexConstants

        org.apache.jackrabbit.oak.plugins.index.search.FulltextIndexConstants.IndexingMode
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static 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 CODEC_NAME
      Name of the codec to be used for indexing
      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 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 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_USE_IN_SIMILARITY
      whether use this property values for similarity
      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 PROPDEF_PROP_NODE_NAME
      Property definition name to indicate indexing node name Its value should match FieldNames.NODE_NAME
      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_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 Version VERSION  
      • Fields inherited from interface org.apache.jackrabbit.oak.plugins.index.search.FulltextIndexConstants

        AGG_PATH, AGG_PRIMARY_TYPE, AGG_RECURSIVE_LIMIT, AGG_RELATIVE_NODE, AGGREGATES, BLOB_SIZE, COMPAT_MODE, COST_PER_ENTRY, COST_PER_EXECUTION, EVALUATE_PATH_RESTRICTION, EXCERPT_NODE_FIELD_NAME, EXCLUDE_PROPERTY_NAMES, EXPERIMENTAL_STORAGE, FACETS, FIELD_BOOST, FULL_TEXT_ENABLED, FUNC_NAME, INCLUDE_PROPERTY_NAMES, INCLUDE_PROPERTY_TYPES, INDEX_DATA_CHILD_NAME, INDEX_RULES, ORDERED_PROP_NAMES, PERSISTENCE_FILE, PERSISTENCE_NAME, PERSISTENCE_OAK, PERSISTENCE_PATH, PROP_ANALYZED, PROP_DYNAMIC_BOOST, PROP_EXCLUDE_FROM_AGGREGATE, PROP_FACETS, PROP_FACETS_TOP_CHILDREN, PROP_FUNCTION, PROP_INCLUDED_TYPE, PROP_INDEX, PROP_INDEX_NODE_TYPE, PROP_IS_REGEX, PROP_NAME, PROP_NODE, PROP_NODE_SCOPE_INDEX, PROP_ORDERED, PROP_PROPERTY_INDEX, PROP_RANDOM_SEED, PROP_REFRESH_DEFN, PROP_SCORER_PROVIDER, PROP_SECURE_FACETS, PROP_SECURE_FACETS_VALUE_INSECURE, PROP_SECURE_FACETS_VALUE_JVM_PARAM, PROP_SECURE_FACETS_VALUE_SECURE, PROP_SECURE_FACETS_VALUE_STATISTICAL, PROP_SIMILARITY_RERANK, PROP_SIMILARITY_SEARCH_DENSE_VECTOR_SIZE, PROP_SIMILARITY_TAGS, PROP_STATISTICAL_FACET_SAMPLE_SIZE, PROP_SYNC, PROP_TYPE, PROP_UNIQUE, PROP_USE_IN_EXCERPT, PROP_VALUE_REGEX, PROP_WEIGHT, REGEX_ALL_PROPS, RULE_INHERITED, STATISTICAL_FACET_SAMPLE_SIZE_DEFAULT, STATISTICAL_FACET_SAMPLE_SIZE_JVM_PARAM, SUGGEST_ANALYZED, USE_IF_EXISTS
    • Field Detail

      • VERSION

        static final Version VERSION
      • ANALYZER

        static final Analyzer ANALYZER
      • MERGE_POLICY_NAME

        static final String MERGE_POLICY_NAME
        Name of the merge policy to be used while indexing
        See Also:
        Constant Field Values
      • TEST_MODE

        static final String TEST_MODE
        Boolean property to indicate that LuceneIndex is being used in testMode and it should participate in every test
        See Also:
        Constant Field Values
      • ANL_DEFAULT

        static final String ANL_DEFAULT
        Name of the default analyzer definition node under 'analyzers' node
        See Also:
        Constant Field Values
      • TIKA_CONFIG

        static final String TIKA_CONFIG
        nt:file node under 'tika' node which refers to the config xml file
        See Also:
        Constant Field Values
      • TIKA_MIME_TYPES

        static final String TIKA_MIME_TYPES
        Config node under tika which defines mime type mappings
        See Also:
        Constant Field Values
      • TIKA_MAPPED_TYPE

        static final String TIKA_MAPPED_TYPE
        Property name within the mime type structure which defines a mime type mapping
        See Also:
        Constant Field Values
      • MAX_FIELD_LENGTH

        static final String MAX_FIELD_LENGTH
        The maximum number of terms that will be indexed for a single field in a document. This limits the amount of memory required for indexing, so that collections with very large files will not crash the indexing process by running out of memory.

        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.

        See Also:
        Constant Field Values
      • PROP_USE_IN_SUGGEST

        static final String PROP_USE_IN_SUGGEST
        whether use this property values for suggestions
        See Also:
        Constant Field Values
      • SUGGESTION_CONFIG

        static final String SUGGESTION_CONFIG
        subnode holding configuration for suggestions
        See Also:
        Constant Field Values
      • SUGGEST_UPDATE_FREQUENCY_MINUTES

        static final String SUGGEST_UPDATE_FREQUENCY_MINUTES
        update frequency of the suggester in minutes
        See Also:
        Constant Field Values
      • PROP_USE_IN_SPELLCHECK

        static final String PROP_USE_IN_SPELLCHECK
        whether use this property values for spellchecking
        See Also:
        Constant Field Values
      • PROP_USE_IN_SIMILARITY

        static final String PROP_USE_IN_SIMILARITY
        whether use this property values for similarity
        See Also:
        Constant Field Values
      • PROP_NULL_CHECK_ENABLED

        static final String PROP_NULL_CHECK_ENABLED
        Property definition config indicating that null check support should be enabled for this property
        See Also:
        Constant Field Values
      • PROP_NOT_NULL_CHECK_ENABLED

        static final String PROP_NOT_NULL_CHECK_ENABLED
        Property definition config indicating that this property would be used with 'IS NOT NULL' constraint
        See Also:
        Constant Field Values
      • INDEX_NODE_NAME

        static final String INDEX_NODE_NAME
        IndexRule level config to indicate that Node name should also be index to support fn:name() queries
        See Also:
        Constant Field Values
      • PROPDEF_PROP_NODE_NAME

        static final String PROPDEF_PROP_NODE_NAME
        Property definition name to indicate indexing node name Its value should match FieldNames.NODE_NAME
        See Also:
        Constant Field Values
      • SAVE_DIR_LISTING

        static final 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)
        See Also:
        Constant Field Values
      • INDEX_PATH

        @Deprecated
        static final String INDEX_PATH
        Deprecated.
        With OAK-4152 no need to explicitly define indexPath property
        Optional Property to store the path of index in the repository. Path at which index definition is defined is not known to IndexEditor. To make use of CopyOnWrite feature its required to know the indexPath to optimize the lookup and read of existing index files
        See Also:
        Constant Field Values