Lucene++ - a full-featured, c++ search engine
API Documentation
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
void setSort(Collection< SortFieldPtr > fields)
Sets the sort to the given criteria in succession.
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition: LuceneTypes.h:539
Sort()
Sorts by computed relevance. This is the same sort criteria as calling {Searcher#search()} without a ...
static SortPtr INDEXORDER()
Represents sorting by index order.
boost::shared_ptr< SortField > SortFieldPtr
Definition: LuceneTypes.h:443
virtual int32_t hashCode()
Return hash code for this object.
virtual bool equals(const LuceneObjectPtr &other)
Return whether two objects are equal.
Definition: AbstractAllTermDocs.h:12
Base class for all Lucene classes.
Definition: LuceneObject.h:31
Collection< SortFieldPtr > getSort()
Representation of the sort criteria.
virtual String toString()
Returns a string representation of the object.
void setSort(const SortFieldPtr &field)
Sets the sort to the given criteria.
Encapsulates sort criteria for returned hits.
Definition: Sort.h:68
boost::shared_ptr< Sort > SortPtr
Definition: LuceneTypes.h:442
Sort(const SortFieldPtr &field)
Sorts by the criteria in the given SortField.
Sort(Collection< SortFieldPtr > fields)
Sorts in succession by the criteria in each SortField.
static SortPtr RELEVANCE()
Represents sorting by computed relevance. Using this sort criteria returns the same results as callin...
Collection< SortFieldPtr > fields
Internal representation of the sort criteria.
Definition: Sort.h:83
clucene.sourceforge.net