Class FieldValueHitQueue
Inheritance
System.Object
FieldValueHitQueue
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public static class FieldValueHitQueue : object
Methods
| Improve this Doc View SourceCreate<T>(SortField[], Int32)
Creates a hit queue sorted by the given list of fields.
NOTE: The instances returned by this method
pre-allocate a full array of length numHits
.
Declaration
public static FieldValueHitQueue<T> Create<T>(SortField[] fields, int size)
where T : FieldValueHitQueue.Entry
Parameters
Type | Name | Description |
---|---|---|
Sort |
fields | Sort |
System. |
size | The number of hits to retain. Must be greater than zero. |
Returns
Type | Description |
---|---|
Field |
Type Parameters
Name | Description |
---|---|
T |