Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example fuzzy queries
{
"size": 0,
"query": {
"query_string": {
"fields": ["text"],
"query": "arrayed~ illicitly~",
"default_operator": "and",
"fuzziness": "AUTO",
"phrase_slop": 0
}
}
}
{
"size": 0,
"query": {
"query_string": {
"fields": ["text"],
"query": "Thorpe~ kidnapping~",
"default_operator": "and",
"fuzziness": "AUTO",
"phrase_slop": 0
}
}
}
{
"size": 0,
"query": {
"query_string": {
"fields": ["text"],
"query": "molder~ foulness~",
"default_operator": "and",
"fuzziness": "AUTO",
"phrase_slop": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment