Last active
June 15, 2019 15:01
-
-
Save palash25/27f1bae81cee24eaa5887a6a7107adb3 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
{ | |
"_source": ["_id"], | |
"from": 1, | |
"size": 10, | |
"query": { | |
"bool": { | |
"filter": [{ | |
"bool": { | |
"should": { | |
"bool": { | |
"filter": { | |
"bool": { | |
"should": { | |
"match": { | |
"answers.PKDFB0ntZBRCrhIBmFbx.text": "Female" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, { | |
"match": { | |
"formId": "hHhcLKh9st1vFr8nDY4a" | |
} | |
}, { | |
"range": { | |
"_updated_at": { | |
"from": "36163", | |
"include_lower": true, | |
"include_upper": true, | |
"to": null | |
} | |
} | |
}] | |
} | |
} | |
} |
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
{ | |
"took": 46, | |
"timed_out": false, | |
"_shards": { | |
"total": 5, | |
"successful": 5, | |
"skipped": 0, | |
"failed": 0 | |
}, | |
"hits": { | |
"total": 2, | |
"max_score": 0, | |
"hits": [ | |
{ | |
"_index": "response_v2_862875ee3a88a6d09c95bdbda029ce2b", | |
"_type": "response", | |
"_id": "g0uRQdKOEv9SkwS3bQ3D", | |
"_score": 0, | |
"_source": {} | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment