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:
Yonik Seeley 2006-02-02 16:55:26 +00:00
parent 0f19da3c90
commit 3118a1cdb9

View File

@ -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];