xapian-core
1.5.0
|
Abstract base class for match deciders. More...
Public Member Functions | |
MatchDecider () noexcept | |
Default constructor, needed by subclass constructors. | |
virtual | ~MatchDecider () |
Virtual destructor, because we have virtual methods. | |
virtual bool | operator() (const Xapian::Document &doc) const =0 |
Decide whether to accept a document. More... | |
Abstract base class for match deciders.
|
pure virtual |
Decide whether to accept a document.
This is called by the matcher for documents before adding them to the candidate result set. Note that documents accepted here may still not appear in the final MSet (better documents may be found, for example).
doc | The document to consider. |
Implemented in Xapian::ValueSetMatchDecider.