mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Fix golint warnings in indexparamcheck (#9861)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
This commit is contained in:
parent
41bd393fe6
commit
274dd03a10
@ -18,12 +18,25 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
L2 = "L2"
|
||||
IP = "IP"
|
||||
HAMMING = "HAMMING"
|
||||
JACCARD = "JACCARD"
|
||||
TANIMOTO = "TANIMOTO"
|
||||
SUBSTRUCTURE = "SUBSTRUCTURE"
|
||||
// L2 represents Euclidean distance
|
||||
L2 = "L2"
|
||||
|
||||
// IP represents inner product distance
|
||||
IP = "IP"
|
||||
|
||||
// HAMMING represents hamming distance
|
||||
HAMMING = "HAMMING"
|
||||
|
||||
// JACCARD represents jaccard distance
|
||||
JACCARD = "JACCARD"
|
||||
|
||||
// TANIMOTO represents tanimoto distance
|
||||
TANIMOTO = "TANIMOTO"
|
||||
|
||||
// SUBSTRUCTURE represents substructure distance
|
||||
SUBSTRUCTURE = "SUBSTRUCTURE"
|
||||
|
||||
// SUPERSTRUCTURE represents superstructure distance
|
||||
SUPERSTRUCTURE = "SUPERSTRUCTURE"
|
||||
|
||||
MinNBits = 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user