public final class SearchOptions extends Object implements MetaPropertyProvider
Database options for the waldo search index.
Modifier and Type | Field and Description |
---|---|
static ConfigProperty<Boolean> |
INDEX_COMPUTE_NORM |
static ConfigProperty<Collection<IRI>> |
INDEX_DATATYPES
Option to specify the datatypes for which to index literals.
|
static ConfigProperty<Collection<IRI>> |
INDEX_PROPERTIES_EXCLUDED
Option to specify the excluded predicates of literals to be indexed.
|
static ConfigProperty<Collection<String>> |
INDEX_STOPWORDS
Option to specify the stopwords for which to filter terms while indexing terms.
|
static ConfigProperty<Boolean> |
LEADING_WILDCARD_SEARCH_ENABLED
Option to enable the Lucene query parser's support of leading wildcards in queries as shown
here.
|
static ConfigProperty<Boolean> |
OPTIMIZE |
static String |
PROPERTY_DEFAULT_QUERY_OPERATOR |
static String |
PROPERTY_FILTER_CLASSES |
static String |
PROPERTY_INDEX_COMPUTE_NORM |
static String |
PROPERTY_INDEX_DATATYPE |
static String |
PROPERTY_INDEX_PROPERTIES_EXCLUDED |
static String |
PROPERTY_INDEX_STOPWORDS |
static String |
PROPERTY_LEADING_WILDCARD_SEARCH_ENABLED |
static String |
PROPERTY_OPTIMIZE |
static String |
PROPERTY_SEARCH_PAGE_SIZE |
static String |
PROPERTY_USE_VACUUMING |
static String |
PROPERTY_WORD_BREAK_CHARS |
static ConfigProperty<Integer> |
SEARCH_DEFAULT_LIMIT
Deprecated.
|
static ConfigProperty<String> |
SEARCH_DEFAULT_QUERY_OPERATOR |
static ConfigProperty<Boolean> |
SEARCH_INDEX_DIRTY
Deprecated.
|
static ConfigProperty<com.complexible.stardog.search.SearchIndexState> |
SEARCH_INDEX_STATE
State of the search index, see
SearchIndexState |
static ConfigProperty<Integer> |
SEARCH_PAGE_SIZE
Specify the page size used for iteration over results from the full-text index.
|
static ConfigProperty<Boolean> |
SEARCH_REINDEX_IN_TX
Flag to indicate if the search index should be updated as part of update transactions.
|
static ConfigProperty<Boolean> |
SEARCHABLE
Option for whether or not full-text search via Waldo is enabled for the database
|
static ConfigProperty<Boolean> |
USE_VACUUMING |
static ConfigProperty<String> |
WORD_BREAK_CHARS |
Constructor and Description |
---|
SearchOptions() |
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
@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.