Skip to content

Instantly share code, notes, and snippets.

@lsena
lsena / match_query.json
Last active January 6, 2021 21:56
Match query
{
"_source": true,
"query": {
"match": {
"full_name": {
"query": "<search_term>",
"fuzziness": "auto"
}
}
}
@lsena
lsena / match_benchmark.csv
Last active January 3, 2021 19:09
match_benchmark.csv
Method time in seconds index size (Gb)
fuzzy match 161.7 1.77
prefix match 49.6 1.77
wildcard match 345.5 1.77
ngram match 66.7 2.45