7 #ifndef FIELDCOMPARATORSOURCE_H
8 #define FIELDCOMPARATORSOURCE_H
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Provides a FieldComparator for custom field sorting.
Definition: FieldComparatorSource.h:15
virtual ~FieldComparatorSource()
virtual FieldComparatorPtr newComparator(const String &fieldname, int32_t numHits, int32_t sortPos, bool reversed)=0
Creates a comparator for the field in the given index.
Base class for all Lucene classes.
Definition: LuceneObject.h:31
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< FieldComparator > FieldComparatorPtr
Definition: LuceneTypes.h:348