Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

lemur::retrieval::IndriRetMethod Class Reference

Indri structured query language retrieval method. More...

#include <IndriRetMethod.hpp>

Inheritance diagram for lemur::retrieval::IndriRetMethod:

lemur::api::RetrievalMethod List of all members.

Public Member Functions

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

virtual void setParams (indri::api::Parameters *parms)
 set parameters

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

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

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

virtual lemur::api::QueryRepcomputeQueryRep (const lemur::api::Query &qry)
 create an indri query model.

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

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

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


Private Attributes

indri::api::QueryEnvironmentenv
indri::api::Parametersparams

Detailed Description

Indri structured query language retrieval method.


Constructor & Destructor Documentation

lemur::retrieval::IndriRetMethod::IndriRetMethod const lemur::api::Index dbIndex  ) 
 

lemur::retrieval::IndriRetMethod::~IndriRetMethod  )  [virtual]
 

clean up.


Member Function Documentation

virtual lemur::api::QueryRep* lemur::retrieval::IndriRetMethod::computeQueryRep const lemur::api::Query qry  )  [inline, virtual]
 

create an indri query model.

void lemur::retrieval::IndriRetMethod::scoreCollection const string &  qry,
lemur::api::IndexedRealVector results
[virtual]
 

score all of the documents in the collection

virtual void lemur::retrieval::IndriRetMethod::scoreCollection const lemur::api::QueryRep qry,
lemur::api::IndexedRealVector results
[virtual]
 

score all of the documents in the collection

virtual double lemur::retrieval::IndriRetMethod::scoreDoc const lemur::api::QueryRep qry,
lemur::api::DOCID_T  docID
[virtual]
 

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

virtual void lemur::retrieval::IndriRetMethod::scoreDocSet const lemur::api::QueryRep qry,
const lemur::api::DocIDSet docSet,
lemur::api::IndexedRealVector results
[virtual]
 

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

void lemur::retrieval::IndriRetMethod::setParams indri::api::Parameters parms  )  [virtual]
 

set parameters

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

set stopword list

virtual void lemur::retrieval::IndriRetMethod::updateQuery lemur::api::QueryRep qryRep,
const lemur::api::DocIDSet relDocs
[virtual]
 

update the query


Member Data Documentation

indri::api::QueryEnvironment* lemur::retrieval::IndriRetMethod::env [private]
 

indri::api::Parameters* lemur::retrieval::IndriRetMethod::params [private]
 


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:06 2010 for Lemur by doxygen 1.3.4