Repository navigation
How can i handle this query with explorer .{
"query": {
"bool": {
"must": [
{
"nested": {
"path": "features",
"query": {
"bool": {
"must": [
{
"match": {
"features.feature_id": 9
}
},
{
"terms": {
"features.feature_value_id": ["2"]
}
}
]
}
}
}
},
{
"nested": {
"path": "features",
"query": {
"bool": {
"must": [
{
"match": {
"features.feature_id": 10
}
},
{
"terms": {
"features.feature_value_id": ["4"]
}
}
]
}
}
}
}
]
}
}
} |
Answered by
Jeroen-G
Feb 27, 2023
Replies: 1 comment
|
There's a Nested syntax in Explorer, as well as a Match and Term. Play with them and see if you get some results that work for you :) |
0 replies
Answer selected by
amirxhero
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's a Nested syntax in Explorer, as well as a Match and Term. Play with them and see if you get some results that work for you :)