[skip e2e] Add comments for index type (#14805)

Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
pull/14853/head
shaoyue 2022-01-05 13:58:05 +08:00 committed by GitHub
parent bb7d0fb2ad
commit 3b2d14a00c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -14,9 +14,9 @@ package indexparamcheck
// IndexType string.
type IndexType = string
// IndexType definitions
const (
// IndexFaissIDMap represents "FLAT" which means no index is built.
IndexFaissIDMap IndexType = "FLAT"
IndexFaissIDMap IndexType = "FLAT" // no index is built.
IndexFaissIvfFlat IndexType = "IVF_FLAT"
IndexFaissIvfPQ IndexType = "IVF_PQ"
IndexFaissIvfSQ8 IndexType = "IVF_SQ8"