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

InQueryRetMethod Class Reference

#include <InQueryRetMethod.hpp>

Inheritance diagram for InQueryRetMethod:

StructQueryRetMethod RetrievalMethod List of all members.

Public Methods

 InQueryRetMethod (const Index &dbIndex, double belief, int fbTerms, double fbCoef, bool cacheIDF)
virtual ~InQueryRetMethod ()
virtual StructQueryRepcomputeStructQueryRep (const TermQuery &qry)
 compute the query representation for a text query

virtual DocumentRepcomputeDocRep (DOCID_T docID)
virtual ScoreFunctionscoreFunc ()
 return the scoring function pointer

virtual void updateStructQuery (StructQueryRep &qryRep, const DocIDSet &relDocs)

Detailed Description

The InQuery retrieval method for structured queries. Implements the InQuery formulation of idf weighting and default belief value. Behavior can be modified by adjusting that value using the defaultBelief parameter. Provides feedback support in the same fashion as the LEMUR TFIDF method.


Constructor & Destructor Documentation

InQueryRetMethod::InQueryRetMethod const Index   dbIndex,
double    belief,
int    fbTerms,
double    fbCoef,
bool    cacheIDF
 

virtual InQueryRetMethod::~InQueryRetMethod   [inline, virtual]
 


Member Function Documentation

virtual DocumentRep* InQueryRetMethod::computeDocRep DOCID_T    docID [inline, virtual]
 

compute the doc representation (caller responsible for deleting the memory of the generated new instance)

Implements StructQueryRetMethod.

virtual StructQueryRep* InQueryRetMethod::computeStructQueryRep const TermQuery   qry [inline, virtual]
 

compute the query representation for a text query

Implements StructQueryRetMethod.

virtual ScoreFunction* InQueryRetMethod::scoreFunc   [inline, virtual]
 

return the scoring function pointer

Implements StructQueryRetMethod.

void InQueryRetMethod::updateStructQuery StructQueryRep   qryRep,
const DocIDSet   relDocs
[virtual]
 

Create new structured query that is a weighted sum of the original query and the terms selected.

Implements StructQueryRetMethod.


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