You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* update grpc
* update rest
* version up
* integration test qdrant version up
* use dev version in integration test (temp)
* update grpc
* update openapi
* Update latest Qdrant version to v1.11.0
---------
Co-authored-by: timvisee <tim@visee.me>
Copy file name to clipboardExpand all lines: packages/js-client-grpc/proto/collections.proto
+47-4Lines changed: 47 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -129,6 +129,7 @@ enum PayloadSchemaType {
129
129
Text=5;
130
130
Bool=6;
131
131
Datetime=7;
132
+
Uuid=8;
132
133
}
133
134
134
135
enumQuantizationType {
@@ -385,22 +386,56 @@ enum TokenizerType {
385
386
Multilingual=4;
386
387
}
387
388
389
+
messageKeywordIndexParams {
390
+
optionalboolis_tenant=1; // If true - used for tenant optimization.
391
+
optionalboolon_disk=2; // If true - store index on disk.
392
+
}
393
+
394
+
messageIntegerIndexParams {
395
+
boollookup=1; // If true - support direct lookups.
396
+
boolrange=2; // If true - support ranges filters.
397
+
optionalboolis_principal=3; // If true - use this key to organize storage of the collection data. This option assumes that this key will be used in majority of filtered requests.
398
+
optionalboolon_disk=4; // If true - store index on disk.
399
+
}
400
+
401
+
messageFloatIndexParams {
402
+
optionalboolon_disk=1; // If true - store index on disk.
403
+
optionalboolis_principal=2; // If true - use this key to organize storage of the collection data. This option assumes that this key will be used in majority of filtered requests.
404
+
}
405
+
406
+
messageGeoIndexParams {
407
+
}
408
+
388
409
messageTextIndexParams {
389
410
TokenizerTypetokenizer=1; // Tokenizer type
390
411
optionalboollowercase=2; // If true - all tokens will be lowercase
boollookup=1; // If true - support direct lookups.
397
-
boolrange=2; // If true - support ranges filters.
416
+
messageBoolIndexParams {
417
+
}
418
+
419
+
messageDatetimeIndexParams {
420
+
optionalboolon_disk=1; // If true - store index on disk.
421
+
optionalboolis_principal=2; // If true - use this key to organize storage of the collection data. This option assumes that this key will be used in majority of filtered requests.
422
+
}
423
+
424
+
messageUuidIndexParams {
425
+
optionalboolis_tenant=1; // If true - used for tenant optimization.
426
+
optionalboolon_disk=2; // If true - store index on disk.
398
427
}
399
428
400
429
messagePayloadIndexParams {
401
430
oneofindex_params {
402
-
TextIndexParamstext_index_params=1; // Parameters for text index
431
+
KeywordIndexParamskeyword_index_params=3; // Parameters for keyword index
403
432
IntegerIndexParamsinteger_index_params=2; // Parameters for integer index
433
+
FloatIndexParamsfloat_index_params=4; // Parameters for float index
434
+
GeoIndexParamsgeo_index_params=5; // Parameters for geo index
435
+
TextIndexParamstext_index_params=1; // Parameters for text index
436
+
BoolIndexParamsbool_index_params=6; // Parameters for bool index
437
+
DatetimeIndexParamsdatetime_index_params=7; // Parameters for datetime index
438
+
UuidIndexParamsuuid_index_params=8; // Parameters for uuid index
404
439
}
405
440
}
406
441
@@ -511,12 +546,20 @@ message ShardTransferInfo {
511
546
boolsync=4; // If `true` transfer is a synchronization of a replicas; If `false` transfer is a moving of a shard from one peer to another
512
547
}
513
548
549
+
messageReshardingInfo {
550
+
uint32shard_id=1;
551
+
uint64peer_id=2;
552
+
optionalShardKeyshard_key=3;
553
+
}
554
+
514
555
messageCollectionClusterInfoResponse {
515
556
uint64peer_id=1; // ID of this peer
516
557
uint64shard_count=2; // Total number of shards
517
558
repeatedLocalShardInfolocal_shards=3; // Local shards
// leaving extensibility for possibly adding multi-target
438
442
}
439
443
}
@@ -480,6 +484,7 @@ message CountPoints {
480
484
optionalboolexact=3; // If `true` - return exact count, if `false` - return approximate count
481
485
optionalReadConsistencyread_consistency=4; // Options for specifying read consistency guarantees
482
486
optionalShardKeySelectorshard_key_selector=5; // Specify in which shards to look for the points, if not specified - look in all shards
487
+
optionaluint64timeout=6; // If set, overrides global timeout setting for this request. Unit is seconds.
483
488
}
484
489
485
490
messageRecommendInput {
@@ -504,6 +509,16 @@ message ContextInput {
504
509
505
510
enumFusion {
506
511
RRF=0; // Reciprocal Rank Fusion
512
+
DBSF=1; // Distribution-Based Score Fusion
513
+
}
514
+
515
+
// Sample points from the collection
516
+
//
517
+
// Available sampling methods:
518
+
//
519
+
// * `random` - Random sampling
520
+
enumSample {
521
+
Random=0;
507
522
}
508
523
509
524
messageQuery {
@@ -514,6 +529,7 @@ message Query {
514
529
ContextInputcontext=4; // Return points that live in positive areas.
515
530
OrderByorder_by=5; // Order the points by a payload field.
516
531
Fusionfusion=6; // Fuse the results of multiple prefetches.
532
+
Samplesample=7; // Sample points from the collection.
517
533
}
518
534
}
519
535
@@ -553,6 +569,37 @@ message QueryBatchPoints {
553
569
optionaluint64timeout=4; // If set, overrides global timeout setting for this request. Unit is seconds.
554
570
}
555
571
572
+
messageQueryPointGroups {
573
+
stringcollection_name=1; // Name of the collection
574
+
repeatedPrefetchQueryprefetch=2; // Sub-requests to perform first. If present, the query will be performed on the results of the prefetches.
575
+
optionalQueryquery=3; // Query to perform. If missing, returns points ordered by their IDs.
576
+
optionalstringusing=4; // Define which vector to use for querying. If missing, the default vector is used.
577
+
optionalFilterfilter=5; // Filter conditions - return only those points that satisfy the specified conditions.
578
+
optionalSearchParamsparams=6; // Search params for when there is no prefetch.
579
+
optionalfloatscore_threshold=7; // Return points with scores better than this threshold.
580
+
WithPayloadSelectorwith_payload=8; // Options for specifying which payload to include or not
581
+
optionalWithVectorsSelectorwith_vectors=9; // Options for specifying which vectors to include into response
582
+
optionalLookupLocationlookup_from=10; // The location to use for IDs lookup, if not specified - use the current collection and the 'using' vector
583
+
optionaluint64limit=11; // Max number of points. Default is 3.
584
+
optionaluint64group_size=12; // Maximum amount of points to return per group. Default to 10.
585
+
stringgroup_by=13; // Payload field to group by, must be a string or number field. If there are multiple values for the field, all of them will be used. One point can be in multiple groups.
586
+
optionalReadConsistencyread_consistency=14; // Options for specifying read consistency guarantees
587
+
optionalWithLookupwith_lookup=15; // Options for specifying how to use the group id to lookup points in another collection
588
+
optionaluint64timeout=16; // If set, overrides global timeout setting for this request. Unit is seconds.
589
+
optionalShardKeySelectorshard_key_selector=17; // Specify in which shards to look for the points, if not specified - look in all shards
590
+
}
591
+
592
+
messageFacetValue {
593
+
oneofvariant {
594
+
stringstring_value=1; // String value from the facet
595
+
}
596
+
}
597
+
598
+
messageFacetValueHit {
599
+
FacetValuevalue=1; // Value from the facet
600
+
uint64count=2; // Number of points with this value
601
+
}
602
+
556
603
messagePointsUpdateOperation {
557
604
messagePointStructList {
558
605
repeatedPointStructpoints=1;
@@ -666,7 +713,7 @@ message GroupId {
666
713
667
714
messagePointGroup {
668
715
GroupIdid=1; // Group id
669
-
repeatedScoredPointhits=2; // Points in the group
716
+
repeatedScoredPointhits=2; // Points in the group
670
717
RetrievedPointlookup=3; // Point(s) from the lookup collection that matches the group id
671
718
}
672
719
@@ -689,6 +736,11 @@ message QueryBatchResponse {
689
736
doubletime=2; // Time spent to process
690
737
}
691
738
739
+
messageQueryGroupsResponse {
740
+
GroupsResultresult=1;
741
+
doubletime=2; // Time spent to process
742
+
}
743
+
692
744
messageBatchResult {
693
745
repeatedScoredPointresult=1;
694
746
}
@@ -770,12 +822,12 @@ message Filter {
770
822
repeatedConditionshould=1; // At least one of those conditions should match
771
823
repeatedConditionmust=2; // All conditions must match
772
824
repeatedConditionmust_not=3; // All conditions must NOT match
773
-
optionalMinShouldmin_should=4; // At least minimum amount of given conditions should match
825
+
optionalMinShouldmin_should=4; // At least minimum amount of given conditions should match
Copy file name to clipboardExpand all lines: packages/js-client-grpc/proto/points_service.proto
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -117,4 +117,8 @@ service Points {
117
117
Universally query points in a batch fashion. This endpoint covers all capabilities of search, recommend, discover, filters. But also enables hybrid and multi-stage queries.
Universally query points in a group fashion. This endpoint covers all capabilities of search, recommend, discover, filters. But also enables hybrid and multi-stage queries.
0 commit comments