public enum SearchScanConsistency extends Enum<SearchScanConsistency>
Enum Constant and Description |
---|
NOT_BOUNDED
This is the default, the indexer does not wait for certain index updates until it returns the current hits.
|
Modifier and Type | Method and Description |
---|---|
static SearchScanConsistency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchScanConsistency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchScanConsistency NOT_BOUNDED
This is also the fastest mode, because we avoid the cost of obtaining the vector, and we also avoid any wait for the index to catch up to the vector.
public static SearchScanConsistency[] values()
for (SearchScanConsistency c : SearchScanConsistency.values()) System.out.println(c);
public static SearchScanConsistency valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020 Couchbase, Inc.. All rights reserved.