[skip ci]Fix golint error in indexparamcheck (#11046)

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
This commit is contained in:
zhenshan.cao 2021-11-02 21:18:55 +08:00 committed by GitHub
parent 84a538f4d6
commit b768fb2e07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,7 @@ package indexparamcheck
type IndexType = string type IndexType = string
const ( const (
// IndexFaissIDMap represents "FLAT" which means no index is built.
IndexFaissIDMap IndexType = "FLAT" IndexFaissIDMap IndexType = "FLAT"
IndexFaissIvfFlat IndexType = "IVF_FLAT" IndexFaissIvfFlat IndexType = "IVF_FLAT"
IndexFaissIvfPQ IndexType = "IVF_PQ" IndexFaissIvfPQ IndexType = "IVF_PQ"