Add split_id search attribute and remove childfree

After adding `split_id` there is no need to have $Object:CHILDFREE.

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
Stanislav Bogatyrev 2020-11-25 13:31:02 +03:00 committed by Stanislav Bogatyrev
parent 71469da602
commit 73143ac362

View file

@ -304,7 +304,7 @@ message SearchRequest {
// //
// * $Object:version \ // * $Object:version \
// version // version
// * $Object:objectID \ // * $Object:objectID \
// object_id // object_id
// * $Object:containerID \ // * $Object:containerID \
// container_id // container_id
@ -322,6 +322,8 @@ message SearchRequest {
// homomorphic_hash // homomorphic_hash
// * $Object:split.parent \ // * $Object:split.parent \
// object_id of parent // object_id of parent
// * $Object:split.split_id \
// 16 byte UUID used to identify the split object hierarchy parts
// //
// There are some well-known filter aliases to match objects by certain // There are some well-known filter aliases to match objects by certain
// properties: // properties:
@ -338,10 +340,6 @@ message SearchRequest {
// * $Object:PHY \ // * $Object:PHY \
// Returns only objects physically stored in the system. This filter is // Returns only objects physically stored in the system. This filter is
// activated if the `key` exists, disregarding the value and matcher type. // activated if the `key` exists, disregarding the value and matcher type.
// * $Object:CHILDFREE \
// With the `value` set to `true` checks if an object has empty
// children list in `Split` header. With other values returns
// non-childfree objects.
message Filter { message Filter {
// Match type to use // Match type to use
MatchType match_type = 1; MatchType match_type = 1;