Package | Description |
---|---|
org.elasticsearch.action.mlt |
More Like This action.
|
org.elasticsearch.action.search |
Search action.
|
org.elasticsearch.action.search.type | |
org.elasticsearch.percolator | |
org.elasticsearch.search.internal |
Modifier and Type | Method and Description |
---|---|
SearchType |
MoreLikeThisRequest.searchType()
The search type of the mlt search query.
|
Modifier and Type | Method and Description |
---|---|
MoreLikeThisRequest |
MoreLikeThisRequest.searchType(SearchType searchType)
The search type of the mlt search query.
|
MoreLikeThisRequestBuilder |
MoreLikeThisRequestBuilder.setSearchType(SearchType searchType)
The search type of the mlt search query.
|
Modifier and Type | Field and Description |
---|---|
static SearchType |
SearchType.DEFAULT
The default search type (
QUERY_THEN_FETCH . |
Modifier and Type | Method and Description |
---|---|
static SearchType |
SearchType.fromId(byte id)
Constructs search type based on the internal id.
|
static SearchType |
SearchType.fromString(String searchType)
The a string representation search type to execute, defaults to
DEFAULT . |
SearchType |
SearchRequest.searchType()
The tye of search to execute.
|
static SearchType |
SearchType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchType[] |
SearchType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
SearchRequest |
SearchRequest.searchType(SearchType searchType)
The search type to execute, defaults to
DEFAULT . |
SearchRequestBuilder |
SearchRequestBuilder.setSearchType(SearchType searchType)
The search type to execute, defaults to
DEFAULT . |
Modifier and Type | Method and Description |
---|---|
static String |
TransportSearchHelper.buildScrollId(SearchType searchType,
AtomicArray<? extends SearchPhaseResult> searchPhaseResults,
Map<String,String> attributes) |
Modifier and Type | Method and Description |
---|---|
SearchType |
PercolateContext.searchType() |
Modifier and Type | Method and Description |
---|---|
SearchContext |
PercolateContext.searchType(SearchType searchType) |
Modifier and Type | Method and Description |
---|---|
abstract SearchType |
SearchContext.searchType() |
SearchType |
FilteredSearchContext.searchType() |
SearchType |
ShardSearchTransportRequest.searchType() |
SearchType |
ShardSearchRequest.searchType() |
SearchType |
ShardSearchLocalRequest.searchType() |
SearchType |
DefaultSearchContext.searchType() |
Modifier and Type | Method and Description |
---|---|
SearchContext |
SubSearchContext.searchType(SearchType searchType) |
abstract SearchContext |
SearchContext.searchType(SearchType searchType) |
SearchContext |
FilteredSearchContext.searchType(SearchType searchType) |
SearchContext |
DefaultSearchContext.searchType(SearchType searchType) |
Constructor and Description |
---|
ShardSearchLocalRequest(ShardId shardId,
int numberOfShards,
SearchType searchType,
BytesReference source,
String[] types,
Boolean queryCache) |
Copyright © 2009–2015. All rights reserved.