summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/dispatch/SearchPath.java
diff options
context:
space:
mode:
Diffstat (limited to 'container-search/src/main/java/com/yahoo/search/dispatch/SearchPath.java')
-rw-r--r--container-search/src/main/java/com/yahoo/search/dispatch/SearchPath.java12
1 files changed, 4 insertions, 8 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/dispatch/SearchPath.java b/container-search/src/main/java/com/yahoo/search/dispatch/SearchPath.java
index 7937be50813..f6480f80c01 100644
--- a/container-search/src/main/java/com/yahoo/search/dispatch/SearchPath.java
+++ b/container-search/src/main/java/com/yahoo/search/dispatch/SearchPath.java
@@ -28,15 +28,11 @@ import java.util.stream.IntStream;
public class SearchPath {
/**
- * Parse the search path and select nodes from the given cluster based on it.
+ * Parses the search path and select nodes from the given cluster based on it.
*
- * @param searchPath
- * unparsed search path expression (see: model.searchPath in Search
- * API reference)
- * @param cluster
- * the search cluster from which nodes are selected
- * @throws InvalidSearchPathException
- * if the searchPath is malformed
+ * @param searchPath unparsed search path expression (see: model.searchPath in Search API reference)
+ * @param cluster the search cluster from which nodes are selected
+ * @throws InvalidSearchPathException if the searchPath is malformed
* @return list of nodes chosen with the search path, or an empty list in which
* case some other node selection logic should be used
*/