xapian-core  2.0.0
Private Member Functions | List of all members
MDecider_estimateop2 Class Reference
+ Inheritance diagram for MDecider_estimateop2:
+ Collaboration diagram for MDecider_estimateop2:

Private Member Functions

bool operator() (const Xapian::Document &) const override
 Decide whether to accept a document. More...
 

Additional Inherited Members

- Public Member Functions inherited from Xapian::MatchDecider
 MatchDecider () noexcept
 Default constructor, needed by subclass constructors. More...
 
virtual ~MatchDecider ()
 Virtual destructor, because we have virtual methods. More...
 

Detailed Description

Definition at line 1480 of file api_query.cc.

Member Function Documentation

◆ operator()()

bool MDecider_estimateop2::operator() ( const Xapian::Document doc) const
inlineoverrideprivatevirtual

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).

Parameters
docThe document to consider.
Returns
true if the document should be considered further.

Implements Xapian::MatchDecider.

Definition at line 1481 of file api_query.cc.


The documentation for this class was generated from the following file: