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

OkapiScoreFunc Class Reference

The Okapi scoring function. More...

#include <OkapiRetMethod.hpp>

Inheritance diagram for OkapiScoreFunc:

ScoreFunction List of all members.

Public Methods

 OkapiScoreFunc (const Index &dbIndex)
virtual double matchedTermWeight (const QueryTerm *qTerm, const TextQueryRep *qRep, const DocInfo *info, const DocumentRep *dRep) const
 compute the score contribution of a matched term


Protected Attributes

const Indexind

Detailed Description

The Okapi scoring function.


Constructor & Destructor Documentation

OkapiScoreFunc::OkapiScoreFunc const Index   dbIndex [inline]
 


Member Function Documentation

double OkapiScoreFunc::matchedTermWeight const QueryTerm   qTerm,
const TextQueryRep   qRep,
const DocInfo   info,
const DocumentRep   dRep
const [virtual]
 

compute the score contribution of a matched term

Reimplemented from ScoreFunction.


Member Data Documentation

const Index& OkapiScoreFunc::ind [protected]
 


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