From ec99f58974eb850e36d5b3170fb924e074a64405 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Thu, 18 Jun 2020 19:24:14 -0700 Subject: [PATCH] Updated comment [skip ci] --- test/search_as_you_type_test.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/search_as_you_type_test.rb b/test/search_as_you_type_test.rb index e4b25ab..e57bde4 100644 --- a/test/search_as_you_type_test.rb +++ b/test/search_as_you_type_test.rb @@ -43,7 +43,10 @@ class SearchAsYouTypeTest < Minitest::Test assert_search "tobasco s", ["Tabasco Sauce"] end - # not sure there's much we can do here + # fuzziness is not applied to last term + # https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html#type-bool-prefix + # + # not sure there's much we can do here right now # ideally we could search both term and prefix for final term # https://github.com/elastic/elasticsearch/issues/56229 def test_mispellings_last_term -- libgit2 0.21.0