Lucene.Net
3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
|
Expert: A hit queue for sorting by hits by terms in more than one field. Uses FieldCache.DEFAULT
for maintaining internal term lookup tables.
More...
Inherits PriorityQueue< FieldValueHitQueue.Entry >.
Inherited by Lucene.Net.Search.FieldValueHitQueue.MultiComparatorsFieldValueHitQueue, and Lucene.Net.Search.FieldValueHitQueue.OneComparatorFieldValueHitQueue.
Classes | |
class | Entry |
Public Member Functions | |
abstract override bool | LessThan (Entry a, Entry b) |
Static Public Member Functions | |
static FieldValueHitQueue | Create (SortField[] fields, int size) |
Creates a hit queue sorted by the given list of fields. | |
Expert: A hit queue for sorting by hits by terms in more than one field. Uses FieldCache.DEFAULT
for maintaining internal term lookup tables.
NOTE: This API is experimental and might change in incompatible ways in the next release.
Definition at line 34 of file FieldValueHitQueue.cs.
|
static |
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
.
fields | SortField array we are sorting by in priority order (highest priority first); cannot be null or empty |
size | The number of hits to retain. Must be greater than zero. |
<throws> IOException </throws>
Definition at line 169 of file FieldValueHitQueue.cs.
|
pure virtual |