milvus-logo

IndexType

The enumeration of all available index types in Milvus.

package io.milvus.param;
public enum IndexType
TypeCodeDescription
INVALID0For internal usage.
FLAT1Only for FloatVector type field.
IVF_FLAT2Only for FloatVector type field.
IVF_SQ83Only for FloatVector type field.
IVF_PQ4Only for FloatVector type field.
HNSW5Only for FloatVector type field.
ANNOY6Only for FloatVector type field.
BIN_FLAT7Only for BinaryVector type field.
BIN_IVF_FLAT8Only for BinaryVector type field.
TRIE9Only for VARCHAR type field.