From 73143ac3623e58bef16f8aa72647c94510905aa7 Mon Sep 17 00:00:00 2001
From: Stanislav Bogatyrev <stanislav@nspcc.ru>
Date: Wed, 25 Nov 2020 13:31:02 +0300
Subject: [PATCH] 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>
---
 object/service.proto | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/object/service.proto b/object/service.proto
index c4f6931..7092635 100644
--- a/object/service.proto
+++ b/object/service.proto
@@ -304,7 +304,7 @@ message SearchRequest {
     //
     // * $Object:version \
     //   version
-    // * $Object:objectID                       \
+    // * $Object:objectID \
     //   object_id
     // * $Object:containerID \
     //   container_id
@@ -322,6 +322,8 @@ message SearchRequest {
     //   homomorphic_hash
     // * $Object:split.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
     // properties:
@@ -338,10 +340,6 @@ message SearchRequest {
     // * $Object:PHY \
     //   Returns only objects physically stored in the system. This filter is
     //   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 {
       // Match type to use
       MatchType match_type = 1;