Skip to content

[Bug]: metric_type COSINE try_from panic #91

@franklucky001

Description

@franklucky001

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

pub enum MetricType {
    L2,
    IP,
    HAMMING,
    JACCARD,
    TANIMOTO,
    SUBSTRUCTURE,
    SUPERSTRUCTURE,
   // COSINE missing define here
}

代码中 metric_type enum中缺少COSINE的枚举定义

Expected Behavior

No response

Steps/Code To Reproduce behavior

Environment details

- Hardware/Softward conditions (OS, CPU, GPU, Memory):
- Method of installation (Docker, or from source):
- Milvus version (v0.3.1, or v0.4.0):
- Milvus configuration (Settings you made in `server_config.yaml`):

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions