7 #ifndef FIELDVALUEHITQUEUE_H
8 #define FIELDVALUEHITQUEUE_H
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: FieldValueHitQueue.h:56
int32_t slot
Definition: FieldValueHitQueue.h:61
FieldValueHitQueueEntry(int32_t slot, int32_t doc, double score)
virtual ~FieldValueHitQueueEntry()
virtual String toString()
Returns a string representation of the object.
A hit queue for sorting by hits by terms in more than one field. Uses FieldCache::DEFAULT for maintai...
Definition: FieldValueHitQueue.h:19
Collection< int32_t > reverseMul
Definition: FieldValueHitQueue.h:32
virtual ~FieldValueHitQueue()
FieldDocPtr fillFields(const FieldValueHitQueueEntryPtr &entry)
Given a queue Entry, creates a corresponding FieldDoc that contains the values used to sort the given...
Collection< SortFieldPtr > getFields()
Returns the SortFields being used by this hit queue.
FieldValueHitQueue(Collection< SortFieldPtr > fields, int32_t size)
Collection< FieldComparatorPtr > comparators
Definition: FieldValueHitQueue.h:31
Collection< int32_t > getReverseMul()
Collection< SortFieldPtr > fields
Stores the sort criteria being used.
Definition: FieldValueHitQueue.h:26
static FieldValueHitQueuePtr create(Collection< SortFieldPtr > fields, int32_t size)
Creates a hit queue sorted by the given list of fields.
Collection< FieldComparatorPtr > getComparators()
Definition: HitQueueBase.h:14
Expert: Returned by low-level search implementations.
Definition: ScoreDoc.h:16
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< FieldValueHitQueue > FieldValueHitQueuePtr
Definition: LuceneTypes.h:356
boost::shared_ptr< FieldDoc > FieldDocPtr
Definition: LuceneTypes.h:350
boost::shared_ptr< FieldValueHitQueueEntry > FieldValueHitQueueEntryPtr
Definition: LuceneTypes.h:357