| Package | Description |
|---|---|
| org.elasticsearch.action | |
| org.elasticsearch.action.support | |
| org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
| org.elasticsearch.client.support | |
| org.elasticsearch.gateway |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ListenableActionFuture<T>
An
ActionFuture that listeners can be added to. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractListenableActionFuture<T,L> |
class |
AdapterActionFuture<T,L> |
class |
PlainActionFuture<T> |
class |
PlainListenableActionFuture<T> |
| Modifier and Type | Method and Description |
|---|---|
ActionFuture<Response> |
TransportAction.execute(Request request) |
| Modifier and Type | Method and Description |
|---|---|
ActionFuture<IndicesAliasesResponse> |
IndicesAdminClient.aliases(IndicesAliasesRequest request)
Allows to add/remove aliases from indices.
|
ActionFuture<AliasesExistResponse> |
IndicesAdminClient.aliasesExist(GetAliasesRequest request)
Check to existence of index aliases.
|
ActionFuture<AnalyzeResponse> |
IndicesAdminClient.analyze(AnalyzeRequest request)
Analyze text under the provided index.
|
ActionFuture<BulkResponse> |
Client.bulk(BulkRequest request)
Executes a bulk of index / delete operations.
|
ActionFuture<CancelTasksResponse> |
ClusterAdminClient.cancelTasks(CancelTasksRequest request)
Cancel tasks
|
ActionFuture<ClearIndicesCacheResponse> |
IndicesAdminClient.clearCache(ClearIndicesCacheRequest request)
Clear indices cache.
|
ActionFuture<ClearScrollResponse> |
Client.clearScroll(ClearScrollRequest request)
Clears the search contexts associated with specified scroll ids.
|
ActionFuture<CloseIndexResponse> |
IndicesAdminClient.close(CloseIndexRequest request)
Closes an index based on the index name.
|
ActionFuture<ClusterStatsResponse> |
ClusterAdminClient.clusterStats(ClusterStatsRequest request)
Cluster wide aggregated stats.
|
ActionFuture<CountResponse> |
Client.count(CountRequest request)
Deprecated.
use
Client.search(SearchRequest) instead and set size to 0 |
ActionFuture<CreateIndexResponse> |
IndicesAdminClient.create(CreateIndexRequest request)
Creates an index using an explicit request allowing to specify the settings of the index.
|
ActionFuture<CreateSnapshotResponse> |
ClusterAdminClient.createSnapshot(CreateSnapshotRequest request)
Creates a new snapshot.
|
ActionFuture<DeleteIndexResponse> |
IndicesAdminClient.delete(DeleteIndexRequest request)
Deletes an index based on the index name.
|
ActionFuture<DeleteResponse> |
Client.delete(DeleteRequest request)
Deletes a document from the index based on the index, type and id.
|
ActionFuture<DeleteIndexedScriptResponse> |
Client.deleteIndexedScript(DeleteIndexedScriptRequest request)
Delete an indexed script
|
ActionFuture<DeleteRepositoryResponse> |
ClusterAdminClient.deleteRepository(DeleteRepositoryRequest request)
Unregisters a repository.
|
ActionFuture<DeleteSnapshotResponse> |
ClusterAdminClient.deleteSnapshot(DeleteSnapshotRequest request)
Delete snapshot.
|
ActionFuture<DeleteIndexTemplateResponse> |
IndicesAdminClient.deleteTemplate(DeleteIndexTemplateRequest request)
Deletes index template.
|
ActionFuture<DeleteWarmerResponse> |
IndicesAdminClient.deleteWarmer(DeleteWarmerRequest request)
Deletes an index warmer.
|
<Request extends ActionRequest,Response extends ActionResponse,RequestBuilder extends ActionRequestBuilder<Request,Response,RequestBuilder>> |
ElasticsearchClient.execute(Action<Request,Response,RequestBuilder> action,
Request request)
Executes a generic action, denoted by an
Action. |
ActionFuture<ExistsResponse> |
Client.exists(ExistsRequest request)
Deprecated.
use
Client.search(SearchRequest) instead and set `size` to `0` and `terminate_after` to `1` |
ActionFuture<IndicesExistsResponse> |
IndicesAdminClient.exists(IndicesExistsRequest request)
Indices Exists.
|
ActionFuture<ExplainResponse> |
Client.explain(ExplainRequest request)
Computes a score explanation for the specified request.
|
ActionFuture<FieldStatsResponse> |
Client.fieldStats(FieldStatsRequest request) |
ActionFuture<FlushResponse> |
IndicesAdminClient.flush(FlushRequest request)
Explicitly flush one or more indices (releasing memory from the node).
|
ActionFuture<ForceMergeResponse> |
IndicesAdminClient.forceMerge(ForceMergeRequest request)
Explicitly force merge one or more indices into a the number of segments.
|
ActionFuture<GetResponse> |
Client.get(GetRequest request)
Gets the document that was indexed from an index with a type and id.
|
ActionFuture<GetAliasesResponse> |
IndicesAdminClient.getAliases(GetAliasesRequest request)
Get specific index aliases that exists in particular indices and / or by name.
|
ActionFuture<GetFieldMappingsResponse> |
IndicesAdminClient.getFieldMappings(GetFieldMappingsRequest request)
Get the mappings of specific fields
|
ActionFuture<GetIndexResponse> |
IndicesAdminClient.getIndex(GetIndexRequest request)
Get index metadata for particular indices.
|
ActionFuture<GetIndexedScriptResponse> |
Client.getIndexedScript(GetIndexedScriptRequest request)
Gets the document that was indexed from an index with a type and id.
|
ActionFuture<GetMappingsResponse> |
IndicesAdminClient.getMappings(GetMappingsRequest request)
Get the complete mappings of one or more types
|
ActionFuture<GetRepositoriesResponse> |
ClusterAdminClient.getRepositories(GetRepositoriesRequest request)
Gets repositories.
|
ActionFuture<GetSettingsResponse> |
IndicesAdminClient.getSettings(GetSettingsRequest request)
Executed a per index settings get request.
|
ActionFuture<GetSnapshotsResponse> |
ClusterAdminClient.getSnapshots(GetSnapshotsRequest request)
Get snapshot.
|
ActionFuture<GetIndexTemplatesResponse> |
IndicesAdminClient.getTemplates(GetIndexTemplatesRequest request)
Gets index template.
|
ActionFuture<GetWarmersResponse> |
IndicesAdminClient.getWarmers(GetWarmersRequest request)
Returns a map of index warmers for the given get request.
|
ActionFuture<ClusterHealthResponse> |
ClusterAdminClient.health(ClusterHealthRequest request)
The health of the cluster.
|
ActionFuture<IndexResponse> |
Client.index(IndexRequest request)
Index a JSON source associated with a given index and type.
|
ActionFuture<ListTasksResponse> |
ClusterAdminClient.listTasks(ListTasksRequest request)
List tasks
|
ActionFuture<MultiGetResponse> |
Client.multiGet(MultiGetRequest request)
Multi get documents.
|
ActionFuture<MultiPercolateResponse> |
Client.multiPercolate(MultiPercolateRequest request)
Performs multiple percolate requests.
|
ActionFuture<MultiSearchResponse> |
Client.multiSearch(MultiSearchRequest request)
Performs multiple search requests.
|
ActionFuture<MultiTermVectorsResponse> |
Client.multiTermVectors(MultiTermVectorsRequest request)
Multi get term vectors.
|
ActionFuture<NodesHotThreadsResponse> |
ClusterAdminClient.nodesHotThreads(NodesHotThreadsRequest request)
Returns top N hot-threads samples per node.
|
ActionFuture<NodesInfoResponse> |
ClusterAdminClient.nodesInfo(NodesInfoRequest request)
Nodes info of the cluster.
|
ActionFuture<NodesStatsResponse> |
ClusterAdminClient.nodesStats(NodesStatsRequest request)
Nodes stats of the cluster.
|
ActionFuture<OpenIndexResponse> |
IndicesAdminClient.open(OpenIndexRequest request)
Open an index based on the index name.
|
ActionFuture<PendingClusterTasksResponse> |
ClusterAdminClient.pendingClusterTasks(PendingClusterTasksRequest request)
Returns a list of the pending cluster tasks, that are scheduled to be executed.
|
ActionFuture<PercolateResponse> |
Client.percolate(PercolateRequest request)
Percolates a request returning the matches documents.
|
ActionFuture<PutIndexedScriptResponse> |
Client.putIndexedScript(PutIndexedScriptRequest request)
Put an indexed script
|
ActionFuture<PutMappingResponse> |
IndicesAdminClient.putMapping(PutMappingRequest request)
Add mapping definition for a type into one or more indices.
|
ActionFuture<PutRepositoryResponse> |
ClusterAdminClient.putRepository(PutRepositoryRequest request)
Registers a snapshot repository.
|
ActionFuture<PutIndexTemplateResponse> |
IndicesAdminClient.putTemplate(PutIndexTemplateRequest request)
Puts an index template.
|
ActionFuture<PutWarmerResponse> |
IndicesAdminClient.putWarmer(PutWarmerRequest request)
Puts an index search warmer to be applies when applicable.
|
ActionFuture<RecoveryResponse> |
IndicesAdminClient.recoveries(RecoveryRequest request)
Indices recoveries
|
ActionFuture<RefreshResponse> |
IndicesAdminClient.refresh(RefreshRequest request)
Explicitly refresh one or more indices (making the content indexed since the last refresh searchable).
|
ActionFuture<RenderSearchTemplateResponse> |
ClusterAdminClient.renderSearchTemplate(RenderSearchTemplateRequest request)
Return the rendered search request for a given search template.
|
ActionFuture<ClusterRerouteResponse> |
ClusterAdminClient.reroute(ClusterRerouteRequest request)
Reroutes allocation of shards.
|
ActionFuture<RestoreSnapshotResponse> |
ClusterAdminClient.restoreSnapshot(RestoreSnapshotRequest request)
Restores a snapshot.
|
ActionFuture<SearchResponse> |
Client.search(SearchRequest request)
Search across one or more indices and one or more types with a query.
|
ActionFuture<SearchResponse> |
Client.searchScroll(SearchScrollRequest request)
A search scroll request to continue searching a previous scrollable search request.
|
ActionFuture<ClusterSearchShardsResponse> |
ClusterAdminClient.searchShards(ClusterSearchShardsRequest request)
Returns list of shards the given search would be executed on.
|
ActionFuture<IndicesSegmentResponse> |
IndicesAdminClient.segments(IndicesSegmentsRequest request)
The segments of one or more indices.
|
ActionFuture<IndicesShardStoresResponse> |
IndicesAdminClient.shardStores(IndicesShardStoresRequest request)
The shard stores info of one or more indices.
|
ActionFuture<SnapshotsStatusResponse> |
ClusterAdminClient.snapshotsStatus(SnapshotsStatusRequest request)
Get snapshot status.
|
ActionFuture<ClusterStateResponse> |
ClusterAdminClient.state(ClusterStateRequest request)
The state of the cluster.
|
ActionFuture<IndicesStatsResponse> |
IndicesAdminClient.stats(IndicesStatsRequest request)
Indices stats.
|
ActionFuture<SuggestResponse> |
Client.suggest(SuggestRequest request)
Suggestion matching a specific phrase.
|
ActionFuture<SyncedFlushResponse> |
IndicesAdminClient.syncedFlush(SyncedFlushRequest request)
Explicitly sync flush one or more indices (write sync id to shards for faster recovery).
|
ActionFuture<TermVectorsResponse> |
Client.termVector(TermVectorsRequest request)
Deprecated.
|
ActionFuture<TermVectorsResponse> |
Client.termVectors(TermVectorsRequest request)
An action that returns the term vectors for a specific document.
|
ActionFuture<TypesExistsResponse> |
IndicesAdminClient.typesExists(TypesExistsRequest request)
Types Exists.
|
ActionFuture<UpdateResponse> |
Client.update(UpdateRequest request)
Updates a document based on a script.
|
ActionFuture<ClusterUpdateSettingsResponse> |
ClusterAdminClient.updateSettings(ClusterUpdateSettingsRequest request)
Updates settings in the cluster.
|
ActionFuture<UpdateSettingsResponse> |
IndicesAdminClient.updateSettings(UpdateSettingsRequest request)
Updates settings of one or more indices.
|
ActionFuture<UpgradeResponse> |
IndicesAdminClient.upgrade(UpgradeRequest request)
Explicitly upgrade one or more indices
|
ActionFuture<UpgradeStatusResponse> |
IndicesAdminClient.upgradeStatus(UpgradeStatusRequest request)
Check upgrade status of one or more indices
|
ActionFuture<ValidateQueryResponse> |
IndicesAdminClient.validateQuery(ValidateQueryRequest request)
Validate a query for correctness.
|
ActionFuture<VerifyRepositoryResponse> |
ClusterAdminClient.verifyRepository(VerifyRepositoryRequest request)
Verifies a repository.
|
| Modifier and Type | Method and Description |
|---|---|
ActionFuture<TransportNodesListGatewayMetaState.NodesGatewayMetaState> |
TransportNodesListGatewayMetaState.list(String[] nodesIds,
TimeValue timeout) |
Copyright © 2009–2017. All rights reserved.