upd legacy methods
"CreateCollectionOperation": {
"description": "Operation for creating new collection and (optionally) specify index params",
"properties": {
+ "collection_name": {
+ "type": "string"
+ },
"distance": {
"$ref": "#/components/schemas/Distance"
},
],
"description": "Custom params for HNSW index. If none - values from service configuration file are used."
},
- "name": {
- "type": "string"
- },
"optimizers_config": {
"anyOf": [
{
}
},
"required": [
+ "collection_name",
"distance",
- "name",
"vector_size"
],
"type": "object"
"UpdateCollectionOperation": {
"description": "Operation for updating parameters of the existing collection",
"properties": {
- "name": {
+ "collection_name": {
"type": "string"
},
"optimizers_config": {
}
},
"required": [
- "name"
+ "collection_name"
],
"type": "object"
},
