blob: 4002dff84ee49331531483d7cc693f1f6db89f0a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
struct Hit {
uint32_t docid;
double distance;
Hit() noexcept : docid(0u), distance(0.0) {}
Hit(int id, double dist) : docid(id), distance(dist) {}
};
|