diff options
author | Arne Juul <arnej@verizonmedia.com> | 2020-01-27 14:02:11 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2020-01-27 14:02:11 +0000 |
commit | 8d8f4c01794fa60d3ce6a5f36f32e7cf93aa376f (patch) | |
tree | 1c028572d8a7baf27d9531fca9fe1e325cfaa0f9 /eval | |
parent | 18c9460fc391a11592796dac3d63e02fab343c5f (diff) |
fix copyright year etc
Diffstat (limited to 'eval')
-rw-r--r-- | eval/src/tests/ann/xp-hnsw-wrap.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eval/src/tests/ann/xp-hnsw-wrap.cpp b/eval/src/tests/ann/xp-hnsw-wrap.cpp index 30202fde534..33895b2bd7c 100644 --- a/eval/src/tests/ann/xp-hnsw-wrap.cpp +++ b/eval/src/tests/ann/xp-hnsw-wrap.cpp @@ -1,4 +1,4 @@ -// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +// Copyright 2020 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "nns.h" #include <iostream> @@ -26,7 +26,8 @@ public: _hnsw.addPoint(vector.cbegin(), docid); } - void removeDoc(uint32_t ) override { + void removeDoc(uint32_t docid) override { + _hnsw.markDelete(docid); } std::vector<NnsHit> topK(uint32_t k, Vector vector, uint32_t search_k) override { |