CLucene - a full-featured, c++ search engine
API Documentation
#include <Sort.h>

Public Member Functions | |
| virtual | ~SortComparatorSource () |
| virtual TCHAR * | getName ()=0 |
| return a reference to a string describing the name of the comparator this is used in the explanation | |
| virtual size_t | hashCode ()=0 |
| virtual ScoreDocComparator * | newComparator (lucene::index::IndexReader *reader, const TCHAR *fieldname)=0 |
| Creates a comparator for the field in the given index. | |
| virtual lucene::search::SortComparatorSource::~SortComparatorSource | ( | ) | [inline, virtual] |
| virtual TCHAR* lucene::search::SortComparatorSource::getName | ( | ) | [pure virtual] |
return a reference to a string describing the name of the comparator this is used in the explanation
| virtual size_t lucene::search::SortComparatorSource::hashCode | ( | ) | [pure virtual] |
| virtual ScoreDocComparator* lucene::search::SortComparatorSource::newComparator | ( | lucene::index::IndexReader * | reader, | |
| const TCHAR * | fieldname | |||
| ) | [pure virtual] |
Creates a comparator for the field in the given index.
| reader | Index to create comparator for. | |
| fieldname | Field to create comparator for. |
| IOException | If an error occurs reading the index. |
Implemented in lucene::search::SortComparator.