Skip to content

Instantly share code, notes, and snippets.

@alfetopito
Created July 24, 2012 16:01
Show Gist options
  • Save alfetopito/3170862 to your computer and use it in GitHub Desktop.
Save alfetopito/3170862 to your computer and use it in GitHub Desktop.
curl -XGET 'http://localhost:9200/keywords/pt_BR/_search?pretty=true' -d '
{
"query": {
"fuzzy": {
"keyword": {
"value": "cartões bradesco",
"prefix_length": 0,
"min_similarity": 0.6
}
}
}
}'
{
"took" : 16,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"failed" : 0
},
"hits" : {
"total" : 0,
"max_score" : null,
"hits" : [ ]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment