diff options
author | Arne Juul <arnej@verizonmedia.com> | 2020-03-23 13:56:39 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2020-03-23 14:30:35 +0000 |
commit | dabdfd757930a7bb06035c718fce456326cf6f63 (patch) | |
tree | 1da8fb4773ae1f595d9a565501fb5ce76e324e9a /searchcommon | |
parent | b1324afaa4cb684862debfb97a492750960cd0cf (diff) |
add enum for selecting distance metric
Diffstat (limited to 'searchcommon')
-rw-r--r-- | searchcommon/src/vespa/searchcommon/attribute/distance_metric.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/searchcommon/src/vespa/searchcommon/attribute/distance_metric.h b/searchcommon/src/vespa/searchcommon/attribute/distance_metric.h new file mode 100644 index 00000000000..9309a0a86dc --- /dev/null +++ b/searchcommon/src/vespa/searchcommon/attribute/distance_metric.h @@ -0,0 +1,9 @@ +// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. + +#pragma once + +namespace search::attribute { + +enum class DistanceMetric { Euclidean, Angular, GeoDegrees }; + +} |