Apache Lucene.Net 2.4.0 Class Library API

FieldSortedHitQueue Constructor 

Creates a hit queue sorted by the given list of fields.

public FieldSortedHitQueue(
   IndexReader reader,
   SortField[] fields,
   int size
);

Parameters

reader
Index to use.
fields
Fieldable names, in priority order (highest priority first). Cannot be
null
or empty.
size
The number of hits to retain. Must be greater than zero.

See Also

FieldSortedHitQueue Class | Lucene.Net.Search Namespace