aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2023-01-19 13:50:47 +0100
committerTor Egge <Tor.Egge@online.no>2023-01-19 13:50:47 +0100
commita23ee49ca48c3092338b622ec9d0ec8539db6c08 (patch)
tree038996aee573a618427bda72db6be931b3a6f256 /searchlib
parent907c7ed0b55491730bfa7268a03080715c10181d (diff)
Extend comment for max_max_level.
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/tensor/hnsw_index.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/tensor/hnsw_index.h b/searchlib/src/vespa/searchlib/tensor/hnsw_index.h
index bcec0838edf..617eb85076e 100644
--- a/searchlib/src/vespa/searchlib/tensor/hnsw_index.h
+++ b/searchlib/src/vespa/searchlib/tensor/hnsw_index.h
@@ -76,6 +76,7 @@ protected:
}
// Clamp level generator member function max_level() return value
+ // Chosen value is based on class comment for InvLogLevelGenerator.
static constexpr uint32_t max_max_level = 29;
GraphType _graph;