mirror of
https://github.com/apache/lucene.git
synced 2025-02-08 11:05:29 +00:00
make FIeldSortedHitQueue public: LUCENE-432
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@374436 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0f19da3c90
commit
3118a1cdb9
@ -38,7 +38,7 @@ import java.text.Collator;
|
||||
* @see Searcher#search(Query,Filter,int,Sort)
|
||||
* @see FieldCache
|
||||
*/
|
||||
class FieldSortedHitQueue
|
||||
public class FieldSortedHitQueue
|
||||
extends PriorityQueue {
|
||||
|
||||
/**
|
||||
@ -48,7 +48,7 @@ extends PriorityQueue {
|
||||
* @param size The number of hits to retain. Must be greater than zero.
|
||||
* @throws IOException
|
||||
*/
|
||||
FieldSortedHitQueue (IndexReader reader, SortField[] fields, int size)
|
||||
public FieldSortedHitQueue (IndexReader reader, SortField[] fields, int size)
|
||||
throws IOException {
|
||||
final int n = fields.length;
|
||||
comparators = new ScoreDocComparator[n];
|
||||
|
Loading…
x
Reference in New Issue
Block a user