summaryrefslogtreecommitdiffstats
path: root/container-search
diff options
context:
space:
mode:
authorOlli Virtanen <olli.virtanen@oath.com>2018-09-17 09:38:46 +0200
committerOlli Virtanen <olli.virtanen@oath.com>2018-09-17 09:38:46 +0200
commit606eb557c8fde2423660ba4b1762ebbe85313c72 (patch)
tree45450fb040ff7a1e362ef0f4766fab2717e6f5ad /container-search
parent7385582ed4a88a9b6493f366c4555801d04d0464 (diff)
Change affinity property name; javadoc cleanup
Diffstat (limited to 'container-search')
-rw-r--r--container-search/src/main/java/com/yahoo/search/dispatch/LoadBalancer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/dispatch/LoadBalancer.java b/container-search/src/main/java/com/yahoo/search/dispatch/LoadBalancer.java
index 6deb8d7bb71..269d16fd24d 100644
--- a/container-search/src/main/java/com/yahoo/search/dispatch/LoadBalancer.java
+++ b/container-search/src/main/java/com/yahoo/search/dispatch/LoadBalancer.java
@@ -24,7 +24,7 @@ public class LoadBalancer {
private static final Logger log = Logger.getLogger(LoadBalancer.class.getName());
- private static final CompoundName QUERY_NODE_GROUP_AFFINITY = new CompoundName("loadbalancer.group.affinity");
+ private static final CompoundName QUERY_NODE_GROUP_AFFINITY = new CompoundName("dispatch.group.affinity");
private final boolean isInternallyDispatchable;
private final List<GroupSchedule> scoreboard;
@@ -49,7 +49,7 @@ public class LoadBalancer {
* Select and allocate the search cluster group which is to be used for the provided query. Callers <b>must</b> call
* {@link #releaseGroup} symmetrically for each taken allocation.
*
- * @param query The query for which this allocation is made.
+ * @param query the query for which this allocation is made
* @return The node group to target, or <i>empty</i> if the internal dispatch logic cannot be used
*/
public Optional<Group> takeGroupForQuery(Query query) {