milvus-logo
LFAI
< Docs
  • Python

IndexType

This is an enumeration that provides the following constants.

Constants

  • GPU_BRUTE_FORCE

    Sets the index type to GPU_BRUTE_FORCE. This applies to GPU indexes only.

  • GPU_IVF_FLAT

    Sets the index type to GPU_IVF_FLAT. This applies to GPU indexes only.

  • GPU_IVF_PQ

    Sets the index type to GPU_IVF_PQ. This applies to GPU indexes only.

  • GPU_CAGRA

    Sets the index type to GPU_CAGRA. This applies to GPU indexes only.

  • FLAT

    Sets the index type to FLAT.

  • IVF_FLAT

    Sets the index type to IVF_FLAT.

  • IVF_PQ

    Sets the index type to IVF_PQ.

  • SCANN

    Sets the index type to SCANN.

  • IVF_SQ8

    Sets the index type to IVF_SQ8.

  • BIN_FLAT

    Sets the index type to BIN_FLAT. This applies to binary vectors only.

  • BIN_IVF_FLAT

    Sets the index type to BIN_IVF_FLAT. This applies to binary vectors only.

  • HNSW

    Sets the index type to HNSW.

  • DISKANN

    Sets the index type to DISKANN.

  • SPARSE_INVERTED_INDEX

    Sets the index type to SPARSE_INVERTED_INDEX. This applies to sparse vectors only.

  • SPARSE_WAND

    Sets the index type to SPARSE_WAND. This applies to sparse vectors only.

  • INVERTED

    Sets the index type to INVERTED. This applies to scalar fields only.

  • STL_SORT

    Sets the index type to STL_SORT. This applies to scalar fields only.

  • TRIE / Trie

    Sets the index type to TRIE. This applies to VarChar scalar fields only.

  • AUTOINDEX

    Sets the index type to AUTOINDEX.

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?