// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include "searchiterator.h" #include #include #include namespace search::queryeval { class NnsIndexIterator : public SearchIterator { public: using Hit = search::tensor::NearestNeighborIndex::Neighbor; static std::unique_ptr create( fef::TermFieldMatchData &tfmd, const std::vector &hits, const search::tensor::BoundDistanceFunction &dist_fun); }; } // namespace