From 608ab92cad6f5291e3f0112452190ad42f618171 Mon Sep 17 00:00:00 2001 From: Ralph Gasser Date: Sat, 13 Jan 2024 09:34:39 +0100 Subject: [PATCH] Remove COSINE distance as supported function. --- .../org/vitrivr/cottontail/dbms/index/pq/PQIndexConfig.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cottontaildb-dbms/src/main/kotlin/org/vitrivr/cottontail/dbms/index/pq/PQIndexConfig.kt b/cottontaildb-dbms/src/main/kotlin/org/vitrivr/cottontail/dbms/index/pq/PQIndexConfig.kt index 930f3739c..97cf41bae 100644 --- a/cottontaildb-dbms/src/main/kotlin/org/vitrivr/cottontail/dbms/index/pq/PQIndexConfig.kt +++ b/cottontaildb-dbms/src/main/kotlin/org/vitrivr/cottontail/dbms/index/pq/PQIndexConfig.kt @@ -45,7 +45,7 @@ data class PQIndexConfig(val distance: Name.FunctionName, val numCentroids: Int, const val DEFAULT_SUBSPACES = 8 /** Set of supported distances. */ - val SUPPORTED_DISTANCES: Set = setOf(ManhattanDistance.FUNCTION_NAME, EuclideanDistance.FUNCTION_NAME, SquaredEuclideanDistance.FUNCTION_NAME, CosineDistance.FUNCTION_NAME) + val SUPPORTED_DISTANCES: Set = setOf(ManhattanDistance.FUNCTION_NAME, EuclideanDistance.FUNCTION_NAME, SquaredEuclideanDistance.FUNCTION_NAME) } /**