Fix match phrase and not match phrase comparators (#71850)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
6c3b900d11
commit
11182c8ef7
|
@ -56,6 +56,8 @@ const criteriaSchema = schema.object({
|
|||
schema.literal(Comparator.NOT_EQ),
|
||||
schema.literal(Comparator.MATCH),
|
||||
schema.literal(Comparator.NOT_MATCH),
|
||||
schema.literal(Comparator.MATCH_PHRASE),
|
||||
schema.literal(Comparator.NOT_MATCH_PHRASE),
|
||||
]),
|
||||
value: schema.oneOf([schema.number(), schema.string()]),
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue