Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example phrase queries
{
"size": 0,
"query": {
"query_string": {
"fields": ["text"],
"query": "\"deescalates forged\"",
"default_operator": "and",
"fuzziness": "0",
"phrase_slop": 0
}
}
}
{
"size": 0,
"query": {
"query_string": {
"fields": ["text"],
"query": "\"visages footballers\"",
"default_operator": "and",
"fuzziness": "0",
"phrase_slop": 0
}
}
}
{
"size": 0,
"query": {
"query_string": {
"fields": ["text"],
"query": "\"hot Lr\"",
"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