vearch / vearch

Distributed vector search for AI-native applications

Home Page:https://vearch.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

修改表空间,增加properties不生效

CzyuAAA opened this issue · comments

properties修改了,space_properties没有修改,是不支持修改还是姿势不对呢
{
"code": 200,
"msg": "success",
"data": {
"id": 6,
"name": "update2",
"resource_name": "default",
"version": 7,
"db_id": 1,
"enabled": true,
"partitions": null,
"partition_num": 0,
"replica_num": 1,
"properties": {
"add_col1": {
"index": true,
"type": "string"
},
"add_col2": {
"index": true,
"type": "string"
},
"doc": {
"index": true,
"type": "string"
},
"is_table": {
"index": true,
"type": "integer"
},
"qualified_name": {
"index": true,
"type": "string"
},
"text": {
"type": "string"
},
"text11": {
"type": "string"
},
"vector": {
"dimension": 3,
"format": "normalization",
"type": "vector"
}
},
"engine": {
"index_size": 2,
"metric_type": "L2",
"retrieval_type": "FLAT",
"retrieval_param": {
"metric_type": "L2"
},
"id_type": "Long"
},
"space_properties": {
"doc": {
"field_type": 4,
"type": "string",
"index": true,
"option": 1
},
"is_table": {
"field_type": 0,
"type": "integer",
"index": true,
"option": 1
},
"qualified_name": {
"field_type": 4,
"type": "string",
"index": true,
"option": 1
},
"text": {
"field_type": 4,
"type": "string"
},
"vector": {
"field_type": 5,
"type": "vector",
"format": "normalization",
"dimension": 3,
"option": 1
}
}
}
}

commented

目前还不支持space_properties的修改功能,只能删掉重建space