org.elasticsearch.client.ElasticsearchClient Java Examples

The following examples show how to use org.elasticsearch.client.ElasticsearchClient. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DeleteIndexedScriptAction.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
@Override
public DeleteIndexedScriptRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new DeleteIndexedScriptRequestBuilder(client, this);
}
 
Example #2
Source File: UpgradeStatusAction.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
@Override
public UpgradeStatusRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new UpgradeStatusRequestBuilder(client, this);
}
 
Example #3
Source File: GetFieldMappingsAction.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
@Override
public GetFieldMappingsRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new GetFieldMappingsRequestBuilder(client, this);
}
 
Example #4
Source File: ClusterStatsAction.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
@Override
public ClusterStatsRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new ClusterStatsRequestBuilder(client, this);
}
 
Example #5
Source File: TermVectorsRequestBuilder.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
public TermVectorsRequestBuilder(ElasticsearchClient client, TermVectorsAction action) {
    super(client, action, new TermVectorsRequest());
}
 
Example #6
Source File: NodesStatsRequestBuilder.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
public NodesStatsRequestBuilder(ElasticsearchClient client, NodesStatsAction action) {
    super(client, action, new NodesStatsRequest());
}
 
Example #7
Source File: GetSettingsRequestBuilder.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
public GetSettingsRequestBuilder(ElasticsearchClient client, GetSettingsAction action, String... indices) {
    super(client, action, new GetSettingsRequest().indices(indices));
}
 
Example #8
Source File: GetMappingsAction.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
@Override
public GetMappingsRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new GetMappingsRequestBuilder(client, this);
}
 
Example #9
Source File: GetFieldMappingsRequestBuilder.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
public GetFieldMappingsRequestBuilder(ElasticsearchClient client, GetFieldMappingsAction action, String... indices) {
    super(client, action, new GetFieldMappingsRequest().indices(indices));
}
 
Example #10
Source File: RestoreSnapshotAction.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
@Override
public RestoreSnapshotRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new RestoreSnapshotRequestBuilder(client, this);
}
 
Example #11
Source File: AcknowledgedRequestBuilder.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
protected AcknowledgedRequestBuilder(ElasticsearchClient client, Action<Request, Response, RequestBuilder> action, Request request) {
    super(client, action, request);
}
 
Example #12
Source File: PutIndexTemplateRequestBuilder.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
public PutIndexTemplateRequestBuilder(ElasticsearchClient client, PutIndexTemplateAction action, String name) {
    super(client, action, new PutIndexTemplateRequest(name));
}
 
Example #13
Source File: FlushAction.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
@Override
public FlushRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new FlushRequestBuilder(client, this);
}
 
Example #14
Source File: IndicesExistsAction.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
@Override
public IndicesExistsRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new IndicesExistsRequestBuilder(client, this);
}
 
Example #15
Source File: MultiSearchAction.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
@Override
public MultiSearchRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new MultiSearchRequestBuilder(client, this);
}
 
Example #16
Source File: PutWarmerAction.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
@Override
public PutWarmerRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new PutWarmerRequestBuilder(client, this);
}
 
Example #17
Source File: DeleteWarmerAction.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
@Override
public DeleteWarmerRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new DeleteWarmerRequestBuilder(client, this);
}
 
Example #18
Source File: MultiSearchRequestBuilder.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
public MultiSearchRequestBuilder(ElasticsearchClient client, MultiSearchAction action) {
    super(client, action, new MultiSearchRequest());
}
 
Example #19
Source File: ClearScrollAction.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
@Override
public ClearScrollRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new ClearScrollRequestBuilder(client, this);
}
 
Example #20
Source File: PutRepositoryRequestBuilder.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
/**
 * Constructs register repository request
 */
public PutRepositoryRequestBuilder(ElasticsearchClient client, PutRepositoryAction action) {
    super(client, action, new PutRepositoryRequest());
}
 
Example #21
Source File: IndicesShardStoreRequestBuilder.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
public IndicesShardStoreRequestBuilder(ElasticsearchClient client, Action<IndicesShardStoresRequest, IndicesShardStoresResponse, IndicesShardStoreRequestBuilder> action, String... indices) {
    super(client, action, new IndicesShardStoresRequest(indices));
}
 
Example #22
Source File: PercolateRequestBuilder.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
public PercolateRequestBuilder(ElasticsearchClient client, PercolateAction action) {
    super(client, action, new PercolateRequest());
}
 
Example #23
Source File: GetRepositoriesAction.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
@Override
public GetRepositoriesRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new GetRepositoriesRequestBuilder(client, this);
}
 
Example #24
Source File: MasterNodeReadOperationRequestBuilder.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
protected MasterNodeReadOperationRequestBuilder(ElasticsearchClient client, Action<Request, Response, RequestBuilder> action, Request request) {
    super(client, action, request);
}
 
Example #25
Source File: StartBlobRequestBuilder.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
protected StartBlobRequestBuilder(ElasticsearchClient client, StartBlobAction action) {
    super(client, action, new StartBlobRequest());
}
 
Example #26
Source File: ExplainRequestBuilder.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
public ExplainRequestBuilder(ElasticsearchClient client, ExplainAction action, String index, String type, String id) {
    super(client, action, new ExplainRequest().index(index).type(type).id(id));
}
 
Example #27
Source File: DeleteBlobAction.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
@Override
public DeleteBlobRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new DeleteBlobRequestBuilder(client, this);
}
 
Example #28
Source File: SearchScrollAction.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
@Override
public SearchScrollRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new SearchScrollRequestBuilder(client, this);
}
 
Example #29
Source File: UpdateRequestBuilder.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
public UpdateRequestBuilder(ElasticsearchClient client, UpdateAction action) {
    super(client, action, new UpdateRequest());
}
 
Example #30
Source File: ClusterUpdateSettingsRequestBuilder.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
public ClusterUpdateSettingsRequestBuilder(ElasticsearchClient client, ClusterUpdateSettingsAction action) {
    super(client, action, new ClusterUpdateSettingsRequest());
}