|
xapian-core
2.0.0
|
Abstract base class for match deciders. More...
#include <matchdecider.h>
Inheritance diagram for Xapian::MatchDecider:Public Member Functions | |
| MatchDecider () noexcept | |
| Default constructor, needed by subclass constructors. More... | |
| virtual | ~MatchDecider () |
| Virtual destructor, because we have virtual methods. More... | |
| virtual bool | operator() (const Xapian::Document &doc) const =0 |
| Decide whether to accept a document. More... | |
Private Member Functions | |
| void | operator= (const MatchDecider &)=delete |
| Don't allow assignment. More... | |
| MatchDecider (const MatchDecider &)=delete | |
| Don't allow copying. More... | |
Abstract base class for match deciders.
Definition at line 37 of file matchdecider.h.
|
privatedelete |
Don't allow copying.
|
inlinenoexcept |
Default constructor, needed by subclass constructors.
Definition at line 47 of file matchdecider.h.
|
inlinevirtual |
Virtual destructor, because we have virtual methods.
Definition at line 50 of file matchdecider.h.
|
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 GrepMatchDecider, Xapian::ValueSetMatchDecider, MDecider_estimateop2, and CheckMatchDecider.
|
privatedelete |
Don't allow assignment.