public final class SearchOptions extends Object implements MetaPropertyProvider
Database options for the waldo search index.
Constructor and Description |
---|
SearchOptions() |
public static final String PROPERTY_SEARCH_INDEX_STATE
public static final String PROPERTY_LEADING_WILDCARD_SEARCH_ENABLED
public static final String PROPERTY_SEARCH_PAGE_SIZE
public static final String PROPERTY_DEFAULT_QUERY_OPERATOR
public static final String PROPERTY_INDEX_DATATYPE
public static final String PROPERTY_WORD_BREAK_CHARS
public static final String PROPERTY_INDEX_STOPWORDS
public static final String PROPERTY_FILTER_CLASSES
public static final String PROPERTY_INDEX_PROPERTIES_EXCLUDED
public static final String PROPERTY_INDEX_COMPUTE_NORM
public static final String PROPERTY_OPTIMIZE
public static final String PROPERTY_USE_VACUUMING
public static final String FTS_CATEGORY
@Deprecated public static final ConfigProperty<Boolean> SEARCH_INDEX_DIRTY
public static final ConfigProperty<com.complexible.stardog.search.SearchIndexState> SEARCH_INDEX_STATE
State of the search index, see SearchIndexState
SearchIndexState.Dirty
public static final ConfigProperty<Boolean> 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
false
and search queries will return incomplete results until search index is rebuilt.
true
public static final ConfigProperty<Boolean> SEARCHABLE
public static final ConfigProperty<Boolean> 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.enabledfalse
public static final ConfigProperty<Integer> SEARCH_PAGE_SIZE
100
@Deprecated public static final ConfigProperty<Integer> SEARCH_DEFAULT_LIMIT
-1
(all results)public static final ConfigProperty<String> SEARCH_DEFAULT_QUERY_OPERATOR
public static final ConfigProperty<Collection<IRI>> INDEX_PROPERTIES_EXCLUDED
public static final ConfigProperty<Collection<IRI>> INDEX_DATATYPES
public static final ConfigProperty<Boolean> INDEX_COMPUTE_NORM
public static final ConfigProperty<Boolean> OPTIMIZE
public static final ConfigProperty<Boolean> USE_VACUUMING
public static final ConfigProperty<String> WORD_BREAK_CHARS
public static final ConfigProperty<Collection<String>> INDEX_STOPWORDS
null
, 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")Copyright © 2010-2016 Stardog Union. All Rights Reserved.