xapian-core
1.4.26
|
Class providing an operator which sorts postlists to select max or terms. More...
Public Member Functions | |
bool | operator() (const PostList *a, const PostList *b) |
Return true if and only if a has a strictly greater termweight than b. More... | |
Class providing an operator which sorts postlists to select max or terms.
This returns true if a has a (strictly) greater termweight than b, unless a or b contain no documents, in which case the other one is selected.
Definition at line 78 of file queryinternal.cc.
Return true if and only if a has a strictly greater termweight than b.
Definition at line 80 of file queryinternal.cc.
References Xapian::PostingIterator::Internal::get_maxweight().