summaryrefslogtreecommitdiffstats
path: root/searchlib/src
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-03-11 12:26:55 +0000
committerArne Juul <arnej@verizonmedia.com>2020-03-11 12:26:55 +0000
commit7515d6edee97246a49cce0b6f22358bed2db5ca7 (patch)
tree2f17f30ee22db83da40e5d82cfe6e727d18970db /searchlib/src
parent065e028f520c322c6013e4b07e3042bd56b1304b (diff)
use snake_case
Diffstat (limited to 'searchlib/src')
-rw-r--r--searchlib/src/vespa/searchlib/tensor/hnsw_index.cpp2
-rw-r--r--searchlib/src/vespa/searchlib/tensor/hnsw_index.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/vespa/searchlib/tensor/hnsw_index.cpp b/searchlib/src/vespa/searchlib/tensor/hnsw_index.cpp
index ec4de67503a..09608a9abbe 100644
--- a/searchlib/src/vespa/searchlib/tensor/hnsw_index.cpp
+++ b/searchlib/src/vespa/searchlib/tensor/hnsw_index.cpp
@@ -247,7 +247,7 @@ HnswIndex::search_layer(const TypedCells& input, uint32_t neighbors_to_find, Fur
{
NearestPriQ candidates;
uint32_t doc_id_limit = _node_refs.size();
- auto visited = _visitedSetPool.get(doc_id_limit);
+ auto visited = _visited_set_pool.get(doc_id_limit);
for (const auto &entry : best_neighbors.peek()) {
assert(entry.docid < doc_id_limit);
candidates.push(entry);
diff --git a/searchlib/src/vespa/searchlib/tensor/hnsw_index.h b/searchlib/src/vespa/searchlib/tensor/hnsw_index.h
index 80c3d0dc6f1..4066316a991 100644
--- a/searchlib/src/vespa/searchlib/tensor/hnsw_index.h
+++ b/searchlib/src/vespa/searchlib/tensor/hnsw_index.h
@@ -88,7 +88,7 @@ protected:
NodeRefVector _node_refs;
NodeStore _nodes;
LinkStore _links;
- mutable vespalib::ReusableSetPool _visitedSetPool;
+ mutable vespalib::ReusableSetPool _visited_set_pool;
uint32_t _entry_docid;
int _entry_level;