mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-29 11:01:18 +03:00
Replaced INDEX_NOT_EXIST with IndexNotExist
This commit is contained in:
@@ -252,7 +252,7 @@ class MilvusUpsert extends Milvus {
|
|||||||
collection_name: this.collectionName
|
collection_name: this.collectionName
|
||||||
})
|
})
|
||||||
|
|
||||||
if (descIndexResp.status.error_code === ErrorCode.INDEX_NOT_EXIST) {
|
if (descIndexResp.status.error_code === ErrorCode.IndexNotExist) {
|
||||||
const resp = await this.client.createIndex({
|
const resp = await this.client.createIndex({
|
||||||
collection_name: this.collectionName,
|
collection_name: this.collectionName,
|
||||||
field_name: this.vectorField,
|
field_name: this.vectorField,
|
||||||
|
|||||||
Reference in New Issue
Block a user