|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.elasticsearch.client.support.AbstractClient
public abstract class AbstractClient
| Constructor Summary | |
|---|---|
AbstractClient()
|
|
| Method Summary | |
|---|---|
BulkRequestBuilder |
prepareBulk()
Executes a bulk of index / delete operations. |
CountRequestBuilder |
prepareCount(java.lang.String... indices)
A count of all the documents matching a specific query. |
DeleteRequestBuilder |
prepareDelete()
Deletes a document from the index based on the index, type and id. |
DeleteRequestBuilder |
prepareDelete(java.lang.String index,
java.lang.String type,
java.lang.String id)
Deletes a document from the index based on the index, type and id. |
DeleteByQueryRequestBuilder |
prepareDeleteByQuery(java.lang.String... indices)
Deletes all documents from one or more indices based on a query. |
GetRequestBuilder |
prepareGet()
Gets the document that was indexed from an index with a type and id. |
GetRequestBuilder |
prepareGet(java.lang.String index,
java.lang.String type,
java.lang.String id)
Gets the document that was indexed from an index with a type (optional) and id. |
IndexRequestBuilder |
prepareIndex()
Index a document associated with a given index and type. |
IndexRequestBuilder |
prepareIndex(java.lang.String index,
java.lang.String type)
Index a document associated with a given index and type. |
IndexRequestBuilder |
prepareIndex(java.lang.String index,
java.lang.String type,
java.lang.String id)
Index a document associated with a given index and type. |
MoreLikeThisRequestBuilder |
prepareMoreLikeThis(java.lang.String index,
java.lang.String type,
java.lang.String id)
A more like this action to search for documents that are "like" a specific document. |
MultiGetRequestBuilder |
prepareMultiGet()
Multi get documents. |
PercolateRequestBuilder |
preparePercolate(java.lang.String index,
java.lang.String type)
Percolates a request returning the matches documents. |
SearchRequestBuilder |
prepareSearch(java.lang.String... indices)
Search across one or more indices and one or more types with a query. |
SearchScrollRequestBuilder |
prepareSearchScroll(java.lang.String scrollId)
A search scroll request to continue searching a previous scrollable search request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.elasticsearch.client.internal.InternalClient |
|---|
threadPool |
| Methods inherited from interface org.elasticsearch.client.Client |
|---|
admin, bulk, bulk, close, count, count, delete, delete, deleteByQuery, deleteByQuery, get, get, index, index, moreLikeThis, moreLikeThis, multiGet, multiGet, percolate, percolate, search, search, searchScroll, searchScroll |
| Constructor Detail |
|---|
public AbstractClient()
| Method Detail |
|---|
public IndexRequestBuilder prepareIndex()
ClientThe id is optional, if it is not provided, one will be generated automatically.
prepareIndex in interface Client
public IndexRequestBuilder prepareIndex(java.lang.String index,
java.lang.String type)
ClientThe id is optional, if it is not provided, one will be generated automatically.
prepareIndex in interface Clientindex - The index to index the document totype - The type to index the document to
public IndexRequestBuilder prepareIndex(java.lang.String index,
java.lang.String type,
@Nullable
java.lang.String id)
ClientThe id is optional, if it is not provided, one will be generated automatically.
prepareIndex in interface Clientindex - The index to index the document totype - The type to index the document toid - The id of the documentpublic DeleteRequestBuilder prepareDelete()
Client
prepareDelete in interface Client
public DeleteRequestBuilder prepareDelete(java.lang.String index,
java.lang.String type,
java.lang.String id)
Client
prepareDelete in interface Clientindex - The index to delete the document fromtype - The type of the document to deleteid - The id of the document to deletepublic BulkRequestBuilder prepareBulk()
Client
prepareBulk in interface Clientpublic DeleteByQueryRequestBuilder prepareDeleteByQuery(java.lang.String... indices)
Client
prepareDeleteByQuery in interface Clientpublic GetRequestBuilder prepareGet()
Client
prepareGet in interface Client
public GetRequestBuilder prepareGet(java.lang.String index,
java.lang.String type,
java.lang.String id)
Client
prepareGet in interface Clientpublic MultiGetRequestBuilder prepareMultiGet()
Client
prepareMultiGet in interface Clientpublic SearchRequestBuilder prepareSearch(java.lang.String... indices)
Client
prepareSearch in interface Clientpublic SearchScrollRequestBuilder prepareSearchScroll(java.lang.String scrollId)
Client
prepareSearchScroll in interface Clientpublic CountRequestBuilder prepareCount(java.lang.String... indices)
Client
prepareCount in interface Client
public MoreLikeThisRequestBuilder prepareMoreLikeThis(java.lang.String index,
java.lang.String type,
java.lang.String id)
Client
prepareMoreLikeThis in interface Clientindex - The index to load the document fromtype - The type of the documentid - The id of the document
public PercolateRequestBuilder preparePercolate(java.lang.String index,
java.lang.String type)
Client
preparePercolate in interface Clientindex - The index to percolate the doctype - The type of the doc
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||