Package org.elasticsearch.action.index
Class TransportIndexAction
- java.lang.Object
-
- org.elasticsearch.action.support.TransportAction<Request,Response>
-
- org.elasticsearch.action.support.HandledTransportAction<Request,Response>
-
- org.elasticsearch.action.bulk.TransportSingleItemBulkWriteAction<IndexRequest,IndexResponse>
-
- org.elasticsearch.action.index.TransportIndexAction
-
@Deprecated public class TransportIndexAction extends TransportSingleItemBulkWriteAction<IndexRequest,IndexResponse>
Deprecated.Performs the index operation. Allows for the following settings:- autoCreateIndex: When set to
true
, will automatically create an index if one does not exists. Defaults totrue
. - allowIdGeneration: If the id is set not, should it be generated. Defaults to
true
.
- autoCreateIndex: When set to
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, logger, taskManager
-
-
Constructor Summary
Constructors Constructor Description TransportIndexAction(ActionFilters actionFilters, TransportService transportService, TransportBulkAction bulkAction)
Deprecated.
-
Method Summary
-
Methods inherited from class org.elasticsearch.action.bulk.TransportSingleItemBulkWriteAction
doExecute, toSingleItemBulkRequest, wrapBulkResponse
-
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
-
-
-
Constructor Detail
-
TransportIndexAction
@Inject public TransportIndexAction(ActionFilters actionFilters, TransportService transportService, TransportBulkAction bulkAction)
Deprecated.
-
-