Skip to content

Commit

Permalink
Fix match phrase and not match phrase comparators (#71850)
Browse files Browse the repository at this point in the history
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
Kerry350 and elasticmachine authored Jul 20, 2020
1 parent 6c3b900 commit 11182c8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()]),
});
Expand Down

0 comments on commit 11182c8

Please sign in to comment.