0
0
Fork 0

added integration test for fuzzy search

This commit is contained in:
Marty Schoch 2014-11-21 14:01:48 -05:00
parent 560990d29c
commit 12ec3173fa
1 changed files with 19 additions and 0 deletions

View File

@ -311,5 +311,24 @@
}
]
}
},
{
"search": {
"from": 0,
"size": 10,
"query": {
"field": "name",
"term": "msrti",
"fuzziness": 1
}
},
"result": {
"total_hits": 1,
"hits": [
{
"id": "a"
}
]
}
}
]