From 9c8ea629cb6e936c7307fa3ff8617fb8d4bc15ec Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Thu, 13 Feb 2025 19:45:29 +0300 Subject: [PATCH] object: Increase number of requested attributes for SearchV2 A bit more to cover current NeoFS S3 gateway needs. Refs #306. Signed-off-by: Leonard Lyubich --- object/service.proto | 2 +- proto-docs/object.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/object/service.proto b/object/service.proto index 6d8e13a..cf9be55 100644 --- a/object/service.proto +++ b/object/service.proto @@ -563,7 +563,7 @@ message SearchV2Request { uint32 count = 5; // List of attribute names (including special ones as defined by - // SearchFilter key) to include into the reply. Limited to 4, these + // SearchFilter key) to include into the reply. Limited to 8, these // attributes also affect result ordering (result is ordered by attributes // and then by OID). repeated string attributes = 6; diff --git a/proto-docs/object.md b/proto-docs/object.md index 895372b..fcb073d 100644 --- a/proto-docs/object.md +++ b/proto-docs/object.md @@ -837,7 +837,7 @@ Object Search request body | filters | [SearchFilter](#neo.fs.v2.object.SearchFilter) | repeated | List of search expressions. Limited to 8. If additional attributes are requested (see attributes below) then the search expression MUST use the first requested attribute. | | cursor | [string](#string) | | Cursor to continue search. Can be omitted or empty for the new search. | | count | [uint32](#uint32) | | Limits the number of responses to the specified number. Can't be more than 1000. | -| attributes | [string](#string) | repeated | List of attribute names (including special ones as defined by SearchFilter key) to include into the reply. Limited to 4, these attributes also affect result ordering (result is ordered by attributes and then by OID). | +| attributes | [string](#string) | repeated | List of attribute names (including special ones as defined by SearchFilter key) to include into the reply. Limited to 8, these attributes also affect result ordering (result is ordered by attributes and then by OID). |