Main Page   Namespace List   Class Hierarchy   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 (Index &dbIndex)
virtual double matchedTermWeight (QueryTerm *qTerm,TextQueryRep *qRep,DocInfo *info,DocumentRep *dRep)
 compute the score contribution of a matched term.


Protected Attributes

Indexind

Detailed Description

The Okapi scoring function.


Constructor & Destructor Documentation

OkapiScoreFunc::OkapiScoreFunc ( Index & dbIndex ) [inline]
 


Member Function Documentation

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

compute the score contribution of a matched term.

Reimplemented from ScoreFunction.


Member Data Documentation

Index & OkapiScoreFunc::ind [protected]
 


The documentation for this class was generated from the following files:
Generated at Fri Jul 26 18:22:54 2002 for LEMUR by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000