Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

MatchInfo Class Reference

#include <MatchInfo.hpp>

List of all members.

Public Methods

virtual ~MatchInfo ()
 clean up.

int count () const
 number of matches


Static Public Methods

MatchInfo * getMatches (const Index &ind, const Query &qry, DOCID_T docID)
 Advance to next document, return false if no more docs.


Detailed Description

Match information for a query within a document. Provides a list of match offsets (token based). Also provides byte offsets in source text when a DocumentManager is available to provide the raw document text. If the DocumentManager is a KeyfileDocMgr, the raw document text is not parsed, the offsets are retrieved directly.


Constructor & Destructor Documentation

virtual MatchInfo::~MatchInfo   [inline, virtual]
 

clean up.


Member Function Documentation

int MatchInfo::count   const [inline]
 

number of matches

MatchInfo * MatchInfo::getMatches const Index   ind,
const Query   qry,
DOCID_T    docID
[static]
 

Advance to next document, return false if no more docs.

Construct the match list for a given query/document pair. Query would be better replaced by the QueryDocument class or some list of internal term ids derived from the input query.


The documentation for this class was generated from the following files:
Generated on Wed Nov 3 12:59:45 2004 for Lemur Toolkit by doxygen1.2.18