mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
always use the max score across the shards in suggest response
This commit is contained in:
parent
30075bb6f9
commit
9c3898900d
@ -513,6 +513,7 @@ public class Suggest implements Iterable<Suggest.Suggestion<? extends Entry<? ex
|
||||
}
|
||||
|
||||
protected void mergeInto(Option otherOption) {
|
||||
score = Math.max(score, otherOption.score);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user