BinaryFlat add 2 Metric: Substructure Superstructure #1603
Description
Is your feature request related to a problem? Please describe.
I want Milvus to support more binary metrics.
Describe the solution you'd like
Here are the 2 Metric.
(1) Substructure: D(a, b) = ((a∩b)==a ? 0 : ∞)
(2) Superstructure: D(a, b) = ((a∩b)==b ? 0 : ∞)
Obviously, these two formulas do not satisfy the following properties.
(1) D(a, b) = D(b, a)
(2) D(a, b) + D(a, c) >= D(b, c)
So, IVF can not supported now.
Describe alternatives you've considered
Additional context
Metadata
Labels
No labels