blob: 4378858415aa665c0d6451a5ce85bb2bb656ce08 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
namespace search::attribute {
/**
* Parameters for attribute blueprints from rank profile and query.
*/
struct AttributeBlueprintParams
{
double nearest_neighbor_brute_force_limit;
AttributeBlueprintParams(double nearest_neighbor_brute_force_limit_in)
: nearest_neighbor_brute_force_limit(nearest_neighbor_brute_force_limit_in)
{
}
AttributeBlueprintParams()
: AttributeBlueprintParams(0.05)
{
}
};
}
|