MySpy Class Reference

Inheritance diagram for MySpy:

Inheritance graph
[legend]
Collaboration diagram for MySpy:

Collaboration graph
[legend]

List of all members.

Private Member Functions

void operator() (const Xapian::Document &, Xapian::weight)
 Register a document with the match spy.


Detailed Description

Definition at line 327 of file api_matchspy.cc.


Member Function Documentation

void MySpy::operator() ( const Xapian::Document doc,
Xapian::weight  wt 
) [inline, private, 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.

Parameters:
doc The document seen by the match spy.
wt The weight of the document.

Implements Xapian::MatchSpy.

Definition at line 328 of file api_matchspy.cc.


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

Documentation for Xapian (version 1.2.9).
Generated on 10 May 2012 by Doxygen 1.5.9.