-
-
Save jwg2s/dd670604addfa6eae7852eb929b82fd2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"from" => 0, | |
"size" => 5000, | |
"query" => { | |
"bool" => { | |
"must" => [ | |
{ "term" => { "team_id" => "7" } }, | |
{ "bool" => { | |
"should" => [ | |
{ | |
"has_child" => { | |
"type" => "custom_field_value", | |
"query" => { | |
"bool" => { | |
"must" => [ | |
{ "term" => { "custom_field_id" => "1" } }, | |
{ "match_phrase" => { "analyzed_value" => "virginia" } } | |
] | |
} | |
} | |
} | |
} | |
] | |
} | |
} | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment