

Public Member Functions | |
| void | operator() (const Xapian::Document &doc, Xapian::weight) |
| Register a document with the match spy. | |
Public Attributes | |
| std::vector< std::string > | seen |
Definition at line 45 of file api_matchspy.cc.
| void SimpleMatchSpy::operator() | ( | const Xapian::Document & | doc, | |
| Xapian::weight | wt | |||
| ) | [inline, virtual] |
Register a document with the match spy.
This is called by the matcher once with each document seen by the matcher during the match process. Note that the matcher will often not see all the documents which match the query, due to optimisations which allow low-weighted documents to be skipped, and allow the match process to be terminated early.
| doc | The document seen by the match spy. | |
| wt | The weight of the document. |
Implements Xapian::MatchSpy.
Definition at line 50 of file api_matchspy.cc.
References Xapian::Document::get_data(), and seen.
| std::vector<std::string> SimpleMatchSpy::seen |