#include <OkapiRetMethod.hpp>
Inheritance diagram for OkapiDocRep:
Public Methods | |
OkapiDocRep (DOCID_T docID, const Index &dbIndex, OkapiParameter::TFParam ¶m) | |
virtual | ~OkapiDocRep () |
virtual double | termWeight (TERMID_T termID, const DocInfo *info) const |
term weighting function
| |
double | BM25TF (double rawTF, double docLength) const |
virtual double | scoreConstant () const |
doc-specific constant term in the scoring formula
| |
Protected Attributes | |
const Index & | ind |
OkapiParameter::TFParam & | prm |
|
|
|
|
|
|
|
doc-specific constant term in the scoring formula
Implements DocumentRep. |
|
term weighting function
Implements DocumentRep. |
|
|
|
|