Created
September 4, 2014 16:27
-
-
Save tlovett1/294b5c5123ee30d0553e to your computer and use it in GitHub Desktop.
Elasticsearch indices query
This file contains hidden or 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
{ | |
"from":0, | |
"size":10, | |
"sort":[ | |
{ | |
"_score":{ | |
"order":"desc" | |
} | |
} | |
], | |
"query":{ | |
"bool":{ | |
"must":{ | |
"fuzzy_like_this":{ | |
"fields":[ | |
"post_title", | |
"post_excerpt", | |
"post_content" | |
], | |
"like_text":"findme", | |
"min_similarity":0.5 | |
} | |
} | |
} | |
}, | |
"indices":{ | |
"indices":[ | |
"exampleorg-1" | |
], | |
"filter":[ | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment