milvus-logo
LFAI
< Docs
  • Python

IndexType

This is an enumeration that provides the following constants.

Constants

  • INVALID = 0 Sets the index type to INVALID.

  • FLAT = 1 Sets the index type to FLAT.

  • IVF_FLAT = 2 Sets the index type to IVF_FLAT.

  • IVF_SQ8 = 3 Sets the index type to IVF_SQ8.

  • IVF_PQ = 6 Sets the index type to IVF_PQ.

  • HNSW = 11 Sets the index type to HNSW.