Overview
You can use a kvpairs clause to assign values to fields that are referenced in the mutable part of a sort expression. This way, you can pass field values to specific feature functions by using a query clause.
Syntax
{
"kvpairs" : {
}
}
key1 specifies a field in the kvpairs clause, and value1 specifies the value of the field.
You can specify multiple key-value pairs based on your business requirements.
Example:
{
"kvpairs" : {
"key1" : "value1",
"key2" : "value2"
}
}
Usage notes
A kvpairs clause is optional.