public final class SearchOptions extends Object implements MetaPropertyProvider
Database options for the waldo search index.
| Modifier and Type | Field and Description |
|---|---|
static ConfigProperty<Collection<org.openrdf.model.IRI>> |
INDEX_DATATYPES
Option to specify the datatypes for which to index literals.
|
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 String |
PROPERTY_DEFAULT_LIMIT |
static String |
PROPERTY_INDEX_DATATYPE |
static String |
PROPERTY_LEADING_WILDCARD_SEARCH_ENABLED |
static ConfigProperty<Integer> |
SEARCH_DEFAULT_LIMIT
Default max number of results from a lucene search, can be overridden in the search
Full name: search.default.limit
Default value: -1 (all results) |
static ConfigProperty<Boolean> |
SEARCH_INDEX_DIRTY
Flag to indicate if the search index is out of date.
|
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
|
| Constructor and Description |
|---|
SearchOptions() |
public static final String PROPERTY_LEADING_WILDCARD_SEARCH_ENABLED
public static final String PROPERTY_DEFAULT_LIMIT
public static final String PROPERTY_INDEX_DATATYPE
public static final ConfigProperty<Boolean> SEARCH_INDEX_DIRTY
Flag to indicate if the search index is out of date. This will be the case if the
search.reindex.tx is set to false and the database is updated.
truepublic 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.
truepublic 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.enabledfalsepublic static final ConfigProperty<Integer> SEARCH_DEFAULT_LIMIT
-1 (all results)public static final ConfigProperty<Collection<org.openrdf.model.IRI>> INDEX_DATATYPES
Copyright © 2010-2016 Stardog Union. All Rights Reserved.