mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
lucene4: upgraded ScoreDocQueue
This commit is contained in:
parent
5cd9da4565
commit
25d03a6a7d
@ -29,7 +29,7 @@ import org.apache.lucene.util.PriorityQueue;
|
||||
public class ScoreDocQueue extends PriorityQueue<ShardScoreDoc> {
|
||||
|
||||
public ScoreDocQueue(int size) {
|
||||
initialize(size);
|
||||
super(size);
|
||||
}
|
||||
|
||||
protected final boolean lessThan(ShardScoreDoc hitA, ShardScoreDoc hitB) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user