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

IndriRetMethod Class Reference

#include <IndriRetMethod.hpp>

Inheritance diagram for IndriRetMethod:

RetrievalMethod List of all members.

Public Methods

 IndriRetMethod (const Index &dbIndex)
virtual ~IndriRetMethod ()
 clean up.

virtual void setParams (Parameters *parms)
 set parameters

virtual void setStopwords (const string &stopfile)
 set stopword list

virtual void scoreCollection (const QueryRep &qry, IndexedRealVector &results)
 score all of the documents in the collection

virtual void scoreCollection (const string &qry, IndexedRealVector &results)
 score all of the documents in the collection

virtual QueryRep * computeQueryRep (const Query &qry)
 create an indri query model.

virtual void scoreDocSet (const QueryRep &qry, const DocIDSet &docSet, IndexedRealVector &results)
 Score a set of documents w.r.t. a query.

virtual double scoreDoc (const QueryRep &qry, DOCID_T docID)
 Score a document identified by the id w.r.t. a query rep.

virtual void updateQuery (QueryRep &qryRep, const DocIDSet &relDocs)
 update the query


Constructor & Destructor Documentation

IndriRetMethod::IndriRetMethod (  const Index &    dbIndex ) 
 

IndriRetMethod::~IndriRetMethod (    )  [virtual]
 

clean up.


Member Function Documentation

virtual QueryRep* IndriRetMethod::computeQueryRep (  const Query &    qry )  [inline, virtual]
 

create an indri query model.

Implements RetrievalMethod.

void IndriRetMethod::scoreCollection (  const string &    qry,
IndexedRealVector &    results
)  [virtual]
 

score all of the documents in the collection

void IndriRetMethod::scoreCollection (  const QueryRep &    qry,
IndexedRealVector &    results
)  [virtual]
 

score all of the documents in the collection

Reimplemented from RetrievalMethod.

double IndriRetMethod::scoreDoc (  const QueryRep &    qry,
DOCID_T    docID
)  [virtual]
 

Score a document identified by the id w.r.t. a query rep.

Implements RetrievalMethod.

void IndriRetMethod::scoreDocSet (  const QueryRep &    qry,
const DocIDSet &    docSet,
IndexedRealVector &    results
)  [virtual]
 

Score a set of documents w.r.t. a query.

Reimplemented from RetrievalMethod.

void IndriRetMethod::setParams (  Parameters *    parms )  [virtual]
 

set parameters

void IndriRetMethod::setStopwords (  const string &    stopfile )  [virtual]
 

set stopword list

void IndriRetMethod::updateQuery (  QueryRep &    qryRep,
const DocIDSet &    relDocs
)  [virtual]
 

update the query

Implements RetrievalMethod.


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