|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IndexRequestBuilder | |
---|---|
org.elasticsearch.action.bulk | |
org.elasticsearch.action.index | Index action. |
org.elasticsearch.client | The client module allowing to easily perform actions/operations. |
org.elasticsearch.client.support |
Uses of IndexRequestBuilder in org.elasticsearch.action.bulk |
---|
Methods in org.elasticsearch.action.bulk with parameters of type IndexRequestBuilder | |
---|---|
BulkRequestBuilder |
BulkRequestBuilder.add(IndexRequestBuilder request)
Adds an IndexRequest to the list of actions to execute. |
Uses of IndexRequestBuilder in org.elasticsearch.action.index |
---|
Methods in org.elasticsearch.action.index that return IndexRequestBuilder | |
---|---|
IndexRequestBuilder |
IndexAction.newRequestBuilder(Client client)
|
IndexRequestBuilder |
IndexRequestBuilder.setConsistencyLevel(WriteConsistencyLevel consistencyLevel)
Sets the consistency level. |
IndexRequestBuilder |
IndexRequestBuilder.setContentType(XContentType contentType)
The content type that will be used to generate a document from user provided objects (like Map). |
IndexRequestBuilder |
IndexRequestBuilder.setCreate(boolean create)
Set to true to force this index to use IndexRequest.OpType.CREATE . |
IndexRequestBuilder |
IndexRequestBuilder.setId(String id)
Sets the id to index the document under. |
IndexRequestBuilder |
IndexRequestBuilder.setIndex(String index)
Sets the index to index the document to. |
IndexRequestBuilder |
IndexRequestBuilder.setListenerThreaded(boolean listenerThreaded)
Should the listener be called on a separate thread if needed. |
IndexRequestBuilder |
IndexRequestBuilder.setOperationThreaded(boolean operationThreaded)
Controls if the operation will be executed on a separate thread when executed locally. |
IndexRequestBuilder |
IndexRequestBuilder.setOpType(IndexRequest.OpType opType)
Sets the type of operation to perform. |
IndexRequestBuilder |
IndexRequestBuilder.setOpType(String opType)
Sets a string representation of the setOpType(org.elasticsearch.action.index.IndexRequest.OpType) . |
IndexRequestBuilder |
IndexRequestBuilder.setParent(String parent)
Sets the parent id of this document. |
IndexRequestBuilder |
IndexRequestBuilder.setPercolate(String percolate)
Causes the index request document to be percolated. |
IndexRequestBuilder |
IndexRequestBuilder.setRefresh(boolean refresh)
Should a refresh be executed post this index operation causing the operation to be searchable. |
IndexRequestBuilder |
IndexRequestBuilder.setReplicationType(ReplicationType replicationType)
Set the replication type for this operation. |
IndexRequestBuilder |
IndexRequestBuilder.setReplicationType(String replicationType)
Set the replication type for this operation. |
IndexRequestBuilder |
IndexRequestBuilder.setRouting(String routing)
Controls the shard routing of the request. |
IndexRequestBuilder |
IndexRequestBuilder.setSource(byte[] source)
Sets the document to index in bytes form. |
IndexRequestBuilder |
IndexRequestBuilder.setSource(byte[] source,
int offset,
int length)
Sets the document to index in bytes form (assumed to be safe to be used from different threads). |
IndexRequestBuilder |
IndexRequestBuilder.setSource(byte[] source,
int offset,
int length,
boolean unsafe)
Sets the document to index in bytes form. |
IndexRequestBuilder |
IndexRequestBuilder.setSource(BytesReference source)
Sets the source. |
IndexRequestBuilder |
IndexRequestBuilder.setSource(BytesReference source,
boolean unsafe)
Sets the source. |
IndexRequestBuilder |
IndexRequestBuilder.setSource(Map<String,Object> source)
Index the Map as a JSON. |
IndexRequestBuilder |
IndexRequestBuilder.setSource(Map<String,Object> source,
XContentType contentType)
Index the Map as the provided content type. |
IndexRequestBuilder |
IndexRequestBuilder.setSource(String source)
Sets the document source to index. |
IndexRequestBuilder |
IndexRequestBuilder.setSource(String field1,
Object value1)
Constructs a simple document with a field and a value. |
IndexRequestBuilder |
IndexRequestBuilder.setSource(String field1,
Object value1,
String field2,
Object value2)
Constructs a simple document with a field and value pairs. |
IndexRequestBuilder |
IndexRequestBuilder.setSource(String field1,
Object value1,
String field2,
Object value2,
String field3,
Object value3)
Constructs a simple document with a field and value pairs. |
IndexRequestBuilder |
IndexRequestBuilder.setSource(String field1,
Object value1,
String field2,
Object value2,
String field3,
Object value3,
String field4,
Object value4)
Constructs a simple document with a field and value pairs. |
IndexRequestBuilder |
IndexRequestBuilder.setSource(XContentBuilder sourceBuilder)
Sets the content source to index. |
IndexRequestBuilder |
IndexRequestBuilder.setTimeout(String timeout)
A timeout to wait if the index operation can't be performed immediately. |
IndexRequestBuilder |
IndexRequestBuilder.setTimeout(TimeValue timeout)
A timeout to wait if the index operation can't be performed immediately. |
IndexRequestBuilder |
IndexRequestBuilder.setTimestamp(String timestamp)
Sets the timestamp either as millis since the epoch, or, in the configured date format. |
IndexRequestBuilder |
IndexRequestBuilder.setTTL(long ttl)
|
IndexRequestBuilder |
IndexRequestBuilder.setType(String type)
Sets the type to index the document to. |
IndexRequestBuilder |
IndexRequestBuilder.setVersion(long version)
Sets the version, which will cause the index operation to only be performed if a matching version exists and no changes happened on the doc since then. |
IndexRequestBuilder |
IndexRequestBuilder.setVersionType(VersionType versionType)
Sets the versioning type. |
Uses of IndexRequestBuilder in org.elasticsearch.client |
---|
Methods in org.elasticsearch.client that return IndexRequestBuilder | |
---|---|
IndexRequestBuilder |
Client.prepareIndex()
Index a document associated with a given index and type. |
IndexRequestBuilder |
Client.prepareIndex(String index,
String type)
Index a document associated with a given index and type. |
IndexRequestBuilder |
Client.prepareIndex(String index,
String type,
String id)
Index a document associated with a given index and type. |
Uses of IndexRequestBuilder in org.elasticsearch.client.support |
---|
Methods in org.elasticsearch.client.support that return IndexRequestBuilder | |
---|---|
IndexRequestBuilder |
AbstractClient.prepareIndex()
|
IndexRequestBuilder |
AbstractClient.prepareIndex(String index,
String type)
|
IndexRequestBuilder |
AbstractClient.prepareIndex(String index,
String type,
String id)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |