blob: bb0e6f7e6a153f8d9f721fd0f026cce265de7dbe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
// Copyright Vespa.ai. 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) {}
};
|