Skip to content

Instantly share code, notes, and snippets.

@nik9000
Created January 18, 2016 18:14
Show Gist options
  • Save nik9000/009929d3a0b777e8c5a3 to your computer and use it in GitHub Desktop.
Save nik9000/009929d3a0b777e8c5a3 to your computer and use it in GitHub Desktop.
Example AND queries
{
"size": 0,
"terminate_after": 1000000000,
"query": {
"query_string": {
"fields": ["text"],
"query": "clewing cincture",
"default_operator": "and",
"fuzziness": "0",
"phrase_slop": 0
}
}
}
{
"size": 0,
"terminate_after": 1000000000,
"query": {
"query_string": {
"fields": ["text"],
"query": "Saxon you",
"default_operator": "and",
"fuzziness": "0",
"phrase_slop": 0
}
}
}
{
"size": 0,
"terminate_after": 1000000000,
"query": {
"query_string": {
"fields": ["text"],
"query": "apothecaries cusps",
"default_operator": "and",
"fuzziness": "0",
"phrase_slop": 0
}
}
}
{
"size": 0,
"terminate_after": 1000000000,
"query": {
"query_string": {
"fields": ["text"],
"query": "reupholsters Turk",
"default_operator": "and",
"fuzziness": "0",
"phrase_slop": 0
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment