@@ -352,6 +352,62 @@ message DeleteFieldIndexCollection {
352352 optional uint64 timeout = 5 ;
353353}
354354
355+ // Dense vector creation parameters.
356+ // Only includes immutable properties that define the vector space.
357+ // Storage type, index, and quantization are configured separately.
358+ message DenseVectorCreationConfig {
359+ // Size/dimensionality of the vectors
360+ uint64 size = 1 ;
361+ // Distance function used for comparing vectors
362+ Distance distance = 2 ;
363+ // Configuration for multi-vector search (e.g., ColBERT)
364+ optional MultiVectorConfig multivector_config = 3 ;
365+ // Data type of the vectors (Float32, Float16, Uint8)
366+ optional Datatype datatype = 4 ;
367+ }
368+
369+ // Sparse vector creation parameters.
370+ // Only includes immutable properties that define the vector space.
371+ message SparseVectorCreationConfig {
372+ // If set - apply modifier to the vector values (e.g., IDF)
373+ optional Modifier modifier = 1 ;
374+ // Data type used to store weights in the index
375+ optional Datatype datatype = 2 ;
376+ }
377+
378+ message CreateVectorNameRequest {
379+ // Name of the collection
380+ string collection_name = 1 ;
381+ // Wait until the changes have been applied?
382+ optional bool wait = 2 ;
383+ // Name of the new vector
384+ string vector_name = 3 ;
385+ // Configuration for the new vector - either dense or sparse
386+ oneof vector_config {
387+ // Dense vector parameters
388+ DenseVectorCreationConfig dense_config = 4 ;
389+ // Sparse vector parameters
390+ SparseVectorCreationConfig sparse_config = 5 ;
391+ }
392+ // If set, overrides global timeout setting for this request. Unit is seconds.
393+ optional uint64 timeout = 6 ;
394+ // Write ordering guarantees
395+ optional WriteOrdering ordering = 7 ;
396+ }
397+
398+ message DeleteVectorNameRequest {
399+ // Name of the collection
400+ string collection_name = 1 ;
401+ // Wait until the changes have been applied?
402+ optional bool wait = 2 ;
403+ // Name of the vector to delete
404+ string vector_name = 3 ;
405+ // If set, overrides global timeout setting for this request. Unit is seconds.
406+ optional uint64 timeout = 4 ;
407+ // Write ordering guarantees
408+ optional WriteOrdering ordering = 5 ;
409+ }
410+
355411message PayloadIncludeSelector {
356412 // List of payload keys to include into result
357413 repeated string fields = 1 ;
@@ -417,11 +473,11 @@ message QuantizationSearchParams {
417473
418474 // Oversampling factor for quantization.
419475 //
420- // Defines how many extra vectors should be pre-selected using quantized index,
476+ // Defines how many extra vectors should be preselected using quantized index,
421477 // and then re-scored using original vectors.
422478 //
423479 // For example, if `oversampling` is 2.4 and `limit` is 100,
424- // then 240 vectors will be pre-selected using quantized index,
480+ // then 240 vectors will be preselected using quantized index,
425481 // and then top-100 will be returned after re-scoring.
426482 optional double oversampling = 3 ;
427483}
0 commit comments