Definition at line 339 of file api_db.cc.
◆ GrepMatchDecider()
| GrepMatchDecider::GrepMatchDecider |
( |
const string & |
needle_ | ) |
|
|
inlineexplicit |
◆ operator()()
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
-
| doc | The document to consider. |
- Returns
- true if the document should be considered further.
Implements Xapian::MatchDecider.
Definition at line 345 of file api_db.cc.
References Xapian::Document::get_data().
◆ needle
| string GrepMatchDecider::needle |
|
private |
The documentation for this class was generated from the following file: