mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-01 16:39:11 +00:00
MultiTermVectorsAction was wrongly registered under mget
This commit is contained in:
parent
39040b5f17
commit
fa067e058a
@ -21,7 +21,6 @@ package org.elasticsearch.action.termvector;
|
|||||||
|
|
||||||
import org.elasticsearch.ExceptionsHelper;
|
import org.elasticsearch.ExceptionsHelper;
|
||||||
import org.elasticsearch.action.ActionListener;
|
import org.elasticsearch.action.ActionListener;
|
||||||
import org.elasticsearch.action.get.MultiGetAction;
|
|
||||||
import org.elasticsearch.action.support.TransportAction;
|
import org.elasticsearch.action.support.TransportAction;
|
||||||
import org.elasticsearch.cluster.ClusterService;
|
import org.elasticsearch.cluster.ClusterService;
|
||||||
import org.elasticsearch.cluster.ClusterState;
|
import org.elasticsearch.cluster.ClusterState;
|
||||||
@ -47,12 +46,12 @@ public class TransportMultiTermVectorsAction extends TransportAction<MultiTermVe
|
|||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
public TransportMultiTermVectorsAction(Settings settings, ThreadPool threadPool, TransportService transportService,
|
public TransportMultiTermVectorsAction(Settings settings, ThreadPool threadPool, TransportService transportService,
|
||||||
ClusterService clusterService, TransportSingleShardMultiTermsVectorAction shardAction) {
|
ClusterService clusterService, TransportSingleShardMultiTermsVectorAction shardAction) {
|
||||||
super(settings, threadPool);
|
super(settings, threadPool);
|
||||||
this.clusterService = clusterService;
|
this.clusterService = clusterService;
|
||||||
this.shardAction = shardAction;
|
this.shardAction = shardAction;
|
||||||
|
|
||||||
transportService.registerHandler(MultiGetAction.NAME, new TransportHandler());
|
transportService.registerHandler(MultiTermVectorsAction.NAME, new TransportHandler());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user