diff options
Diffstat (limited to 'searchlib/src/vespa/searchlib/attribute/string_matcher.h')
-rw-r--r-- | searchlib/src/vespa/searchlib/attribute/string_matcher.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/string_matcher.h b/searchlib/src/vespa/searchlib/attribute/string_matcher.h index 05089e1251a..09ba813cefe 100644 --- a/searchlib/src/vespa/searchlib/attribute/string_matcher.h +++ b/searchlib/src/vespa/searchlib/attribute/string_matcher.h @@ -32,6 +32,11 @@ protected: const vespalib::Regex& getRegex() const { return _helper.getRegex(); } const vespalib::FuzzyMatcher& getFuzzyMatcher() const { return _helper.getFuzzyMatcher(); } const QueryTermUCS4* get_query_term_ptr() const noexcept { return _query_term.get(); } + + template <typename DictionaryConstIteratorType> + bool is_fuzzy_match(const char* word, DictionaryConstIteratorType& itr, const DfaStringComparator::DataStoreType& data_store) const { + return _helper.is_fuzzy_match(word, itr, data_store); + } }; } |