Uses of Class
org.elasticsearch.action.index.IndexRequest

Packages that use IndexRequest
org.elasticsearch.action.bulk   
org.elasticsearch.action.index Index action. 
org.elasticsearch.action.update   
org.elasticsearch.client The client module allowing to easily perform actions/operations. 
org.elasticsearch.client.support   
org.elasticsearch.client.transport   
 

Uses of IndexRequest in org.elasticsearch.action.bulk
 

Methods in org.elasticsearch.action.bulk with parameters of type IndexRequest
 BulkProcessor BulkProcessor.add(IndexRequest request)
          Adds an IndexRequest to the list of actions to execute.
 BulkRequestBuilder BulkRequestBuilder.add(IndexRequest request)
          Adds an IndexRequest to the list of actions to execute.
 BulkRequest BulkRequest.add(IndexRequest request)
          Adds an IndexRequest to the list of actions to execute.
 

Uses of IndexRequest in org.elasticsearch.action.index
 

Methods in org.elasticsearch.action.index that return IndexRequest
 IndexRequest IndexRequest.consistencyLevel(WriteConsistencyLevel consistencyLevel)
          Sets the consistency level of write.
 IndexRequest IndexRequest.contentType(XContentType contentType)
          Sets the content type that will be used when generating a document from user provided objects (like Map).
 IndexRequest IndexRequest.create(boolean create)
          Set to true to force this index to use IndexRequest.OpType.CREATE.
 IndexRequest IndexRequest.id(String id)
          Sets the id of the indexed document.
 IndexRequest IndexRequest.index(String index)
          Sets the index the index operation will happen on.
 IndexRequest IndexRequest.listenerThreaded(boolean threadedListener)
          Should the listener be called on a separate thread if needed.
protected  IndexRequest TransportIndexAction.newReplicaRequestInstance()
           
protected  IndexRequest TransportIndexAction.newRequestInstance()
           
 IndexRequest IndexRequest.operationThreaded(boolean threadedOperation)
          Controls if the operation will be executed on a separate thread when executed locally.
 IndexRequest IndexRequest.opType(IndexRequest.OpType opType)
          Sets the type of operation to perform.
 IndexRequest IndexRequest.opType(String opType)
          Sets a string representation of the opType(org.elasticsearch.action.index.IndexRequest.OpType).
 IndexRequest IndexRequest.parent(String parent)
          Sets the parent id of this document.
 IndexRequest IndexRequest.percolate(String percolate)
          Causes the index request document to be percolated.
 IndexRequest IndexRequest.refresh(boolean refresh)
          Should a refresh be executed post this index operation causing the operation to be searchable.
 IndexRequest IndexRequest.replicationType(ReplicationType replicationType)
          Set the replication type for this operation.
 IndexRequest IndexRequest.replicationType(String replicationType)
          Set the replication type for this operation.
 IndexRequest IndexRequest.routing(String routing)
          Controls the shard routing of the request.
 IndexRequest IndexRequest.source(byte[] source)
          Sets the document to index in bytes form.
 IndexRequest IndexRequest.source(byte[] source, int offset, int length)
          Sets the document to index in bytes form (assumed to be safe to be used from different threads).
 IndexRequest IndexRequest.source(byte[] source, int offset, int length, boolean unsafe)
          Sets the document to index in bytes form.
 IndexRequest IndexRequest.source(BytesReference source, boolean unsafe)
          Sets the document to index in bytes form.
 IndexRequest IndexRequest.source(Map source)
          Index the Map as a Requests.INDEX_CONTENT_TYPE.
 IndexRequest IndexRequest.source(Map source, XContentType contentType)
          Index the Map as the provided content type.
 IndexRequest IndexRequest.source(String source)
          Sets the document source to index.
 IndexRequest IndexRequest.source(String field1, Object value1)
           
 IndexRequest IndexRequest.source(String field1, Object value1, String field2, Object value2)
           
 IndexRequest IndexRequest.source(String field1, Object value1, String field2, Object value2, String field3, Object value3)
           
 IndexRequest IndexRequest.source(String field1, Object value1, String field2, Object value2, String field3, Object value3, String field4, Object value4)
           
 IndexRequest IndexRequest.source(XContentBuilder sourceBuilder)
          Sets the content source to index.
 IndexRequest IndexRequest.timeout(String timeout)
          A timeout to wait if the index operation can't be performed immediately.
 IndexRequest IndexRequest.timeout(TimeValue timeout)
          A timeout to wait if the index operation can't be performed immediately.
 IndexRequest IndexRequest.timestamp(String timestamp)
          Sets the timestamp either as millis since the epoch, or, in the configured date format.
 IndexRequest IndexRequest.ttl(Long ttl)
          Sets the relative ttl value.
 IndexRequest IndexRequest.type(String type)
          Sets the type of the indexed document.
 IndexRequest IndexRequest.version(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.
 IndexRequest IndexRequest.versionType(VersionType versionType)
          Sets the versioning type.
 

Methods in org.elasticsearch.action.index that return types with arguments of type IndexRequest
protected  TransportShardReplicationOperationAction.PrimaryResponse<IndexResponse,IndexRequest> TransportIndexAction.shardOperationOnPrimary(ClusterState clusterState, TransportShardReplicationOperationAction.PrimaryOperationRequest shardRequest)
           
 

Methods in org.elasticsearch.action.index with parameters of type IndexRequest
protected  ClusterBlockException TransportIndexAction.checkGlobalBlock(ClusterState state, IndexRequest request)
           
protected  ClusterBlockException TransportIndexAction.checkRequestBlock(ClusterState state, IndexRequest request)
           
protected  void TransportIndexAction.doExecute(IndexRequest request, ActionListener<IndexResponse> listener)
           
protected  void TransportIndexAction.postPrimaryOperation(IndexRequest request, TransportShardReplicationOperationAction.PrimaryResponse<IndexResponse,IndexRequest> response)
           
protected  boolean TransportIndexAction.resolveRequest(ClusterState state, IndexRequest request, ActionListener<IndexResponse> indexResponseActionListener)
           
protected  ShardIterator TransportIndexAction.shards(ClusterState clusterState, IndexRequest request)
           
 

Method parameters in org.elasticsearch.action.index with type arguments of type IndexRequest
protected  void TransportIndexAction.postPrimaryOperation(IndexRequest request, TransportShardReplicationOperationAction.PrimaryResponse<IndexResponse,IndexRequest> response)
           
 

Uses of IndexRequest in org.elasticsearch.action.update
 

Methods in org.elasticsearch.action.update that return IndexRequest
 IndexRequest UpdateRequest.doc()
           
 IndexRequest UpdateRequest.upsertRequest()
           
 

Methods in org.elasticsearch.action.update with parameters of type IndexRequest
 UpdateRequest UpdateRequest.doc(IndexRequest doc)
          Sets the doc to use for updates when a script is not specified.
 UpdateRequestBuilder UpdateRequestBuilder.setDoc(IndexRequest indexRequest)
          Sets the doc to use for updates when a script is not specified.
 UpdateRequestBuilder UpdateRequestBuilder.setUpsert(IndexRequest indexRequest)
          Sets the index request to be used if the document does not exists.
 UpdateRequest UpdateRequest.upsert(IndexRequest upsertRequest)
          Sets the index request to be used if the document does not exists.
 

Uses of IndexRequest in org.elasticsearch.client
 

Methods in org.elasticsearch.client that return IndexRequest
static IndexRequest Requests.indexRequest()
           
static IndexRequest Requests.indexRequest(String index)
          Create an index request against a specific index.
 

Methods in org.elasticsearch.client with parameters of type IndexRequest
 ActionFuture<IndexResponse> Client.index(IndexRequest request)
          Index a JSON source associated with a given index and type.
 void Client.index(IndexRequest request, ActionListener<IndexResponse> listener)
          Index a document associated with a given index and type.
 

Uses of IndexRequest in org.elasticsearch.client.support
 

Methods in org.elasticsearch.client.support with parameters of type IndexRequest
 ActionFuture<IndexResponse> AbstractClient.index(IndexRequest request)
           
 void AbstractClient.index(IndexRequest request, ActionListener<IndexResponse> listener)
           
 

Uses of IndexRequest in org.elasticsearch.client.transport
 

Methods in org.elasticsearch.client.transport with parameters of type IndexRequest
 ActionFuture<IndexResponse> TransportClient.index(IndexRequest request)
           
 void TransportClient.index(IndexRequest request, ActionListener<IndexResponse> listener)
           
 



Copyright © 2009-2012. All Rights Reserved.