Fix text match default.

This commit is contained in:
Kishore Nallan 2023-01-11 11:38:28 +05:30
parent e4f3090f5f
commit 160a91ede7

View File

@ -774,7 +774,7 @@ Option<bool> CollectionManager::do_search(std::map<std::string, std::string>& re
size_t max_extra_prefix = INT16_MAX;
size_t max_extra_suffix = INT16_MAX;
bool enable_highlight_v1 = true;
text_match_type_t match_type;
text_match_type_t match_type = max_score;
std::unordered_map<std::string, size_t*> unsigned_int_values = {
{MIN_LEN_1TYPO, &min_len_1typo},