#include <OkapiRetMethod.hpp>
Inheritance diagram for OkapiRetMethod:
Public Methods | |
OkapiRetMethod (Index &dbIndex,ScoreAccumulator &accumulator) | |
virtual | ~OkapiRetMethod () |
virtual TextQueryRep* | computeTextQueryRep (TextQuery &qry) |
compute the query representation for a text query (caller responsible for deleting the memory of the generated new instance). | |
virtual DocumentRep* | computeDocRep (int docID) |
compute the doc representation (caller responsible for deleting the memory of the generated new instance). | |
virtual ScoreFunction* | scoreFunc () |
return the scoring function pointer. | |
virtual void | updateTextQuery (TextQueryRep &origRep,DocIDSet &relDocs) |
It's suspected that there is a bug in the implementation of feedback; the performance is not as expected. | |
void | setTFParam (OkapiParameter::TFParam &tfWeightParam) |
void | setFeedbackParam (OkapiParameter::FeedbackParam &feedbackParam) |
Static Public Methods | |
double | RSJWeight (double r,double R,double n,double N) |
Compute the Robertson Spark Jones Weight. | |
Protected Attributes | |
OkapiScoreFunc* | scFunc |
OkapiParameter::TFParam | tfParam |
OkapiParameter::FeedbackParam | fbParam |
|
|
|
|
|
Compute the Robertson Spark Jones Weight.
|
|
compute the doc representation (caller responsible for deleting the memory of the generated new instance).
Reimplemented from TextQueryRetMethod. |
|
compute the query representation for a text query (caller responsible for deleting the memory of the generated new instance).
Reimplemented from TextQueryRetMethod. |
|
return the scoring function pointer.
Reimplemented from TextQueryRetMethod. |
|
|
|
|
|
It's suspected that there is a bug in the implementation of feedback; the performance is not as expected.
Reimplemented from TextQueryRetMethod. |
|
|
|
|
|
|