Commit ec99f58974eb850e36d5b3170fb924e074a64405
1 parent
2e67b4bd
Exists in
search_as_you_type
Updated comment [skip ci]
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
test/search_as_you_type_test.rb
... | ... | @@ -43,7 +43,10 @@ class SearchAsYouTypeTest < Minitest::Test |
43 | 43 | assert_search "tobasco s", ["Tabasco Sauce"] |
44 | 44 | end |
45 | 45 | |
46 | - # not sure there's much we can do here | |
46 | + # fuzziness is not applied to last term | |
47 | + # https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html#type-bool-prefix | |
48 | + # | |
49 | + # not sure there's much we can do here right now | |
47 | 50 | # ideally we could search both term and prefix for final term |
48 | 51 | # https://github.com/elastic/elasticsearch/issues/56229 |
49 | 52 | def test_mispellings_last_term | ... | ... |