summaryrefslogtreecommitdiffstats
path: root/config-model
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2021-10-28 11:02:41 +0200
committerJon Bratseth <bratseth@gmail.com>2021-10-28 11:02:41 +0200
commit30434b164bdeb9fe96a731ac676f8d2d863effc6 (patch)
treeac85aec97041bc8ff86ea709242269235527e354 /config-model
parent4201a74a830b4331ef6c83581cadf964f91e7720 (diff)
Explain group
Diffstat (limited to 'config-model')
-rw-r--r--config-model/src/main/java/com/yahoo/vespa/model/search/NodeSpec.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/search/NodeSpec.java b/config-model/src/main/java/com/yahoo/vespa/model/search/NodeSpec.java
index 7214b79512c..ae0c9448f38 100644
--- a/config-model/src/main/java/com/yahoo/vespa/model/search/NodeSpec.java
+++ b/config-model/src/main/java/com/yahoo/vespa/model/search/NodeSpec.java
@@ -24,13 +24,18 @@ public class NodeSpec {
/**
* Returns an index of the group of this node.
- * This is a 0-base continuous integer id, not necessarily the same as the group id assigned by the user.
- * This group index is called a "row id" in some legacy components in Vespa for historical reasons.
+ * This is a 0-base continuous integer id, not necessarily the same as the group id assigned by the user
+ * or node repo.
+ * This index is called a "row id" in some places in Vespa for historical reasons.
*/
public int groupIndex() {
return groupIndex;
}
+ /**
+ * Returns ther partition id of this, which is also a contiguous integer id, not necessarily
+ * the same as the group id assigned by the user or node repo.
+ */
public int partitionId() {
return partitionId;
}