public class TransportMoreLikeThisAction extends HandledTransportAction<MoreLikeThisRequest,SearchResponse>
actionName, threadPool
componentSettings, logger, settings
Constructor and Description |
---|
TransportMoreLikeThisAction(Settings settings,
ThreadPool threadPool,
TransportSearchAction searchAction,
TransportGetAction getAction,
ClusterService clusterService,
IndicesService indicesService,
TransportService transportService,
ActionFilters actionFilters) |
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute(MoreLikeThisRequest request,
ActionListener<SearchResponse> listener) |
MoreLikeThisRequest |
newRequestInstance()
Sub classes implement this call to get new instance of a Request object
|
execute, execute, forceThreadedListener
nodeName
@Inject public TransportMoreLikeThisAction(Settings settings, ThreadPool threadPool, TransportSearchAction searchAction, TransportGetAction getAction, ClusterService clusterService, IndicesService indicesService, TransportService transportService, ActionFilters actionFilters)
public MoreLikeThisRequest newRequestInstance()
HandledTransportAction
newRequestInstance
in class HandledTransportAction<MoreLikeThisRequest,SearchResponse>
protected void doExecute(MoreLikeThisRequest request, ActionListener<SearchResponse> listener)
doExecute
in class TransportAction<MoreLikeThisRequest,SearchResponse>
Copyright © 2009–2015. All rights reserved.