Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
MBkkt committed Dec 8, 2023
1 parent 646204f commit c982588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/search/ngram_similarity_filter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class by_ngram_similarity : public filter_base<by_ngram_similarity_options> {
static prepared::ptr Prepare(const PrepareContext& ctx,
std::string_view field_name,
const std::vector<irs::bstring>& ngrams,
float_t threshold, bool allow_phrase);
float_t threshold, bool allow_phrase = true);

prepared::ptr prepare(const PrepareContext& ctx) const final {
return Prepare(ctx.Boost(boost()), field(), options().ngrams,
Expand Down

0 comments on commit c982588

Please sign in to comment.