summaryrefslogtreecommitdiffstats
path: root/searchcommon
diff options
context:
space:
mode:
Diffstat (limited to 'searchcommon')
-rw-r--r--searchcommon/src/vespa/searchcommon/attribute/distance_metric.h9
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 };
+
+}