Package com.complexible.stardog.search
Class SearchOptions
java.lang.Object
com.complexible.stardog.search.SearchOptions
- All Implemented Interfaces:
MetaPropertyProvider
Database options for the waldo search index.
- Since:
- 1.2
- Version:
- 6.0
- Author:
- Michael Grove
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final ConfigProperty<Boolean> static final ConfigProperty<Collection<IRI>> Option to specify the datatypes for which to index literals.static final ConfigProperty<Collection<IRI>> Option to specify the properties to be excluded for literals to be indexed.static final ConfigProperty<Collection<IRI>> Option to specify the only properties for literals to be indexed.static final ConfigProperty<Collection<String>> Option to specify the stopwords for which to filter terms while indexing terms.static final ConfigProperty<Collection<String>> static final ConfigProperty<Double> static final ConfigProperty<Boolean> Option to enable the Lucene query parser's support of leading wildcards in queries as shown here.static final ConfigProperty<Boolean> static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final ConfigProperty<Integer> Option to specify the cache size of literals that is used for seeing if a literal is reindexed before.static final ConfigProperty<Double> static final ConfigProperty<Boolean> Option to specify ifSEARCH_CONTEXTS_FILTER, the collection of contexts in named graphs, is going to be leveraged as either excluded or included for literals to be indexed.static final ConfigProperty<Collection<IRI>> Option to specify the collection of contexts in named graphs to be excluded or included for literals to be indexed depending onSEARCH_CONTEXTS_EXCLUDEDoption: By defaultSEARCH_CONTEXTS_EXCLUDEDis set totrue, meaning this set is to be leveraged as an exclusion list.static final ConfigProperty<Integer> Deprecated.static final ConfigProperty<String> static final ConfigProperty<Integer> static final ConfigProperty<Boolean> Deprecated.static final ConfigProperty<com.complexible.stardog.search.SearchIndexState> State of the search index, seeSearchIndexStatestatic final ConfigProperty<Boolean> static final ConfigProperty<Integer> Specify the page size used for iteration over results from the full-text index.static final ConfigProperty<Boolean> Flag to indicate if the search index should be updated as part of update transactions.static final ConfigProperty<Boolean> static final ConfigProperty<Collection<IRI>> static final ConfigProperty<String> static final ConfigProperty<Boolean> Option for whether or not full-text search via Waldo is enabled for the databasestatic final ConfigProperty<Boolean> static final ConfigProperty<String> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PROPERTY_SEARCH_INDEX_STATE
- See Also:
-
PROPERTY_SEARCH_SEMANTIC_MODEL
- See Also:
-
PROPERTY_SEARCH_SEMANTIC_ENABLED
- See Also:
-
PROPERTY_SEARCH_LEXICAL
- See Also:
-
PROPERTY_LEADING_WILDCARD_SEARCH_ENABLED
- See Also:
-
PROPERTY_SEARCH_PAGE_SIZE
- See Also:
-
PROPERTY_DEFAULT_QUERY_OPERATOR
- See Also:
-
PROPERTY_INDEX_DATATYPE
- See Also:
-
PROPERTY_WORD_BREAK_CHARS
- See Also:
-
PROPERTY_INDEX_STOPWORDS
- See Also:
-
PROPERTY_TOKEN_FILTERS
- See Also:
-
PROPERTY_INDEX_PROPERTIES_EXCLUDED
- See Also:
-
PROPERTY_SEARCH_CONTEXTS_FILTER
- See Also:
-
PROPERTY_SEARCH_CONTEXTS_EXCLUDED
- See Also:
-
PROPERTY_SEARCH_SEMANTIC_CONTEXTS_FILTER
- See Also:
-
PROPERTY_INDEX_PROPERTIES_INCLUDED
- See Also:
-
PROPERTY_INDEX_COMPUTE_NORM
- See Also:
-
PROPERTY_OPTIMIZE
- See Also:
-
PROPERTY_USE_VACUUMING
- See Also:
-
PROPERTY_REINDEX_CACHE_SIZE
- See Also:
-
PROPERTY_SEARCH_INDEX_BATCH_SIZE
- See Also:
-
DEFAULT_VECTOR_MODEL
- See Also:
-
SEARCH_INDEX_DIRTY
Deprecated. -
SEARCH_INDEX_STATE
public static final ConfigProperty<com.complexible.stardog.search.SearchIndexState> SEARCH_INDEX_STATEState of the search index, see
SearchIndexStateFull name: search.index.state
Default value:SearchIndexState.Dirty -
SEARCH_REINDEX_IN_TX
Flag to indicate if the search index should be updated as part of update transactions. If this flag is set to
falseand search queries will return incomplete results until search index is rebuilt.Full name: search.reindex.tx
Default value:true -
SEARCHABLE
Option for whether or not full-text search via Waldo is enabled for the database -
SEARCH_LEXICAL
-
SEARCH_SEMANTIC
-
SEARCH_SEMANTIC_MODEL
-
LEADING_WILDCARD_SEARCH_ENABLED
Option to enable the Lucene query parser's support of leading wildcards in queries as shown here. This option should be used with care because leading wildcard searches are not very efficient.
Full name: leading.wildcard.search.enabled
Default value:false -
SEARCH_PAGE_SIZE
Specify the page size used for iteration over results from the full-text index. A page is held in memory, so this count should NOT be large.Full name: search.page.size
Default value:100 -
SEARCH_DEFAULT_LIMIT
Deprecated.Default max number of results from a lucene search, can be overridden in the searchFull name: search.default.limit
Default value:-1(all results) -
RELATIVE_THRESHOLD
-
LABEL_RELATIVE_THRESHOLD
-
SEARCH_DEFAULT_QUERY_OPERATOR
-
INDEX_PROPERTIES_EXCLUDED
Option to specify the properties to be excluded for literals to be indexed. Default value is an empty HashSet, could be populated with IRIs using the same constructor. Full name: "search.index.properties.excluded" -
INDEX_PROPERTIES_INCLUDED
Option to specify the only properties for literals to be indexed. Default value is an empty HashSet, could be populated with IRIs using the same constructor. Please note that ifINDEX_PROPERTIES_EXCLUDEDoption is set, this option will have no effect. Full name: "search.index.properties.included" -
SEARCH_CONTEXTS_FILTER
Option to specify the collection of contexts in named graphs to be excluded or included for literals to be indexed depending onSEARCH_CONTEXTS_EXCLUDEDoption: By defaultSEARCH_CONTEXTS_EXCLUDEDis set totrue, meaning this set is to be leveraged as an exclusion list. Otherwise, which is the case that option is set tofalse, the set is to be an inclusive one. Default value is an empty collection, could be populated with IRIs using the same constructor. Full name: "search.index.contexts.filter" -
SEARCH_CONTEXTS_EXCLUDED
Option to specify ifSEARCH_CONTEXTS_FILTER, the collection of contexts in named graphs, is going to be leveraged as either excluded or included for literals to be indexed. Default value:trueFull name: "search.index.contexts.excluded" -
SEARCH_SEMANTIC_CONTEXTS_FILTER
-
INDEX_DATATYPES
Option to specify the datatypes for which to index literals. -
INDEX_COMPUTE_NORM
-
OPTIMIZE
-
USE_VACUUMING
-
WORD_BREAK_CHARS
-
INDEX_STOPWORDS
Option to specify the stopwords for which to filter terms while indexing terms. The default value isnull, which is leveraged as Lucene's ENGLISH_STOP_WORDS_SET For customization, a list of string should be assigned, e.g. Arrays.asList("a", "an") -
INDEX_TOKEN_FILTERS
-
REINDEX_CACHE_SIZE
Option to specify the cache size of literals that is used for seeing if a literal is reindexed before. Full name: "search.reindex.cache.size" -
SEARCH_INDEX_BATCH_SIZE
-
-
Constructor Details
-
SearchOptions
public SearchOptions()
-