mirror of
https://github.com/typesense/typesense.git
synced 2025-05-20 13:42:26 +08:00
Remove unwanted condition.
This commit is contained in:
parent
3c3b90af98
commit
eee222a8e2
@ -33,7 +33,7 @@ struct KV {
|
||||
this->scores[1] = scores[1];
|
||||
this->scores[2] = scores[2];
|
||||
|
||||
if(match_score_index >= 0 && match_score_index <= 2){
|
||||
if(match_score_index >= 0){
|
||||
this->text_match_score = scores[match_score_index];
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user