Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example OR queries
{
"size": 0,
"query": {
"query_string": {
"fields": ["text"],
"query": "transgression Scotsman",
"default_operator": "or",
"fuzziness": "0",
"phrase_slop": 0
}
}
}
{
"size": 0,
"query": {
"query_string": {
"fields": ["text"],
"query": "laryngitis build",
"default_operator": "or",
"fuzziness": "0",
"phrase_slop": 0
}
}
}
{
"size": 0,
"query": {
"query_string": {
"fields": ["text"],
"query": "premeditates upperclassmen",
"default_operator": "or",
"fuzziness": "0",
"phrase_slop": 0
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment