[#120] object: Document processing of filters with match type NOT_PRESENT

The behavior of the node when processing system search filters with match
type NOT_PRESENT is declared undefined.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-02-02 12:03:40 +03:00 committed by Stanislav Bogatyrev
parent 90160db0ac
commit 3b6f5d70ec

View file

@ -350,6 +350,10 @@ 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.
//
// Note: using filters with a key with prefix `$Object:` and match type
// `NOT_PRESENT `is not recommended since this is not a cross-version approach.
// Behavior when processing this kind of filters is undefined.
message Filter { message Filter {
// Match type to use // Match type to use
MatchType match_type = 1; MatchType match_type = 1;