Package | Description |
---|---|
org.elasticsearch.action.percolate | |
org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
org.elasticsearch.client.support | |
org.elasticsearch.client.transport |
Modifier and Type | Method and Description |
---|---|
PercolateRequest |
PercolateRequest.documentType(String type)
Sets the type of the document to percolate.
|
PercolateRequest |
PercolateRequest.getRequest(GetRequest getRequest)
This defines where to fetch the document to be percolated from, which is an alternative of defining the document
to percolate in the request body.
|
protected PercolateRequest |
TransportPercolateAction.newRequest() |
PercolateRequest |
PercolateRequest.onlyCount(boolean onlyCount)
Sets whether this percolate request should only count the number of percolator queries that matches with
the document being percolated and don't keep track of the actual queries that have matched.
|
PercolateRequest |
PercolateRequest.preference(String preference)
Sets the preference to execute the search.
|
PercolateRequest |
PercolateRequestBuilder.request() |
PercolateRequest |
PercolateRequest.routing(String routing)
A comma separated list of routing values to control the shards the search will be executed on.
|
PercolateRequest |
PercolateRequest.source(byte[] document)
Raw version of
source(PercolateSourceBuilder) |
PercolateRequest |
PercolateRequest.source(byte[] source,
int offset,
int length)
Raw version of
source(PercolateSourceBuilder) |
PercolateRequest |
PercolateRequest.source(byte[] source,
int offset,
int length,
boolean unsafe)
Raw version of
source(PercolateSourceBuilder) |
PercolateRequest |
PercolateRequest.source(BytesReference source,
boolean unsafe)
Raw version of
source(PercolateSourceBuilder) |
PercolateRequest |
PercolateRequest.source(Map document)
Raw version of
source(PercolateSourceBuilder) |
PercolateRequest |
PercolateRequest.source(Map document,
XContentType contentType)
Raw version of
source(PercolateSourceBuilder) |
PercolateRequest |
PercolateRequest.source(PercolateSourceBuilder sourceBuilder)
Sets the request body definition for this percolate request as raw bytes.
|
PercolateRequest |
PercolateRequest.source(String document)
Raw version of
source(PercolateSourceBuilder) |
PercolateRequest |
PercolateRequest.source(XContentBuilder documentBuilder)
Raw version of
source(PercolateSourceBuilder) |
Modifier and Type | Method and Description |
---|---|
List<PercolateRequest> |
MultiPercolateRequest.requests() |
Modifier and Type | Method and Description |
---|---|
MultiPercolateRequestBuilder |
MultiPercolateRequestBuilder.add(PercolateRequest percolateRequest)
Bundles the specified percolate request to the multi percolate request.
|
MultiPercolateRequest |
MultiPercolateRequest.add(PercolateRequest request)
Embeds a percolate request to this multi percolate request
|
protected ClusterBlockException |
TransportPercolateAction.checkGlobalBlock(ClusterState state,
PercolateRequest request) |
protected ClusterBlockException |
TransportPercolateAction.checkRequestBlock(ClusterState state,
PercolateRequest request,
String[] concreteIndices) |
protected void |
TransportPercolateAction.doExecute(PercolateRequest request,
ActionListener<PercolateResponse> listener) |
protected PercolateResponse |
TransportPercolateAction.newResponse(PercolateRequest request,
AtomicReferenceArray shardsResponses,
ClusterState clusterState) |
protected PercolateShardRequest |
TransportPercolateAction.newShardRequest(int numShards,
ShardRouting shard,
PercolateRequest request) |
static PercolateResponse |
TransportPercolateAction.reduce(PercolateRequest request,
AtomicReferenceArray shardsResponses,
PercolatorService percolatorService) |
protected GroupShardsIterator |
TransportPercolateAction.shards(ClusterState clusterState,
PercolateRequest request,
String[] concreteIndices) |
Modifier and Type | Method and Description |
---|---|
ActionFuture<PercolateResponse> |
Client.percolate(PercolateRequest request)
Percolates a request returning the matches documents.
|
void |
Client.percolate(PercolateRequest request,
ActionListener<PercolateResponse> listener)
Percolates a request returning the matches documents.
|
Modifier and Type | Method and Description |
---|---|
ActionFuture<PercolateResponse> |
AbstractClient.percolate(PercolateRequest request) |
void |
AbstractClient.percolate(PercolateRequest request,
ActionListener<PercolateResponse> listener) |
Modifier and Type | Method and Description |
---|---|
ActionFuture<PercolateResponse> |
TransportClient.percolate(PercolateRequest request) |
void |
TransportClient.percolate(PercolateRequest request,
ActionListener<PercolateResponse> listener) |
Copyright © 2009–2015. All rights reserved.