diff options
Diffstat (limited to 'container-search/src/main/java/com/yahoo/prelude/cluster/ClusterSearcher.java')
-rw-r--r-- | container-search/src/main/java/com/yahoo/prelude/cluster/ClusterSearcher.java | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/container-search/src/main/java/com/yahoo/prelude/cluster/ClusterSearcher.java b/container-search/src/main/java/com/yahoo/prelude/cluster/ClusterSearcher.java index e637e168030..4ffcc0a4330 100644 --- a/container-search/src/main/java/com/yahoo/prelude/cluster/ClusterSearcher.java +++ b/container-search/src/main/java/com/yahoo/prelude/cluster/ClusterSearcher.java @@ -184,8 +184,7 @@ public class ClusterSearcher extends Searcher { : !host.equals(HostName.getLocalhost()); } - private static ClusterParams makeClusterParams(int searchclusterIndex, - int dispatchIndex) { + private static ClusterParams makeClusterParams(int searchclusterIndex, int dispatchIndex) { return new ClusterParams("sc" + searchclusterIndex + ".num" + dispatchIndex); } @@ -195,11 +194,10 @@ public class ClusterSearcher extends Searcher { DocumentdbInfoConfig documentdbInfoConfig, Backend backend, Dispatcher dispatcher, - int dispatcherIndex) { - ClusterParams clusterParams = makeClusterParams(searchclusterIndex, - dispatcherIndex); - return new FastSearcher(backend, fs4ResourcePool, dispatcher, docSumParams, clusterParams, - documentdbInfoConfig); + int dispatcherIndex) + { + ClusterParams clusterParams = makeClusterParams(searchclusterIndex, dispatcherIndex); + return new FastSearcher(backend, fs4ResourcePool, dispatcher, docSumParams, clusterParams, documentdbInfoConfig); } private static VdsStreamingSearcher vdsCluster(String serverId, |