#include <OkapiRetMethod.hpp>
Inheritance diagram for OkapiRetMethod:

Public Methods | |
| OkapiRetMethod (const Index &dbIndex, ScoreAccumulator &accumulator) | |
| virtual | ~OkapiRetMethod () |
| virtual TextQueryRep * | computeTextQueryRep (const TermQuery &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, const 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 doc representation (caller responsible for deleting the memory of the generated new instance)
Implements TextQueryRetMethod. |
|
|
compute the query representation for a text query (caller responsible for deleting the memory of the generated new instance)
Implements TextQueryRetMethod. |
|
||||||||||||||||||||
|
Compute the Robertson Spark Jones Weight.
|
|
|
return the scoring function pointer
Implements TextQueryRetMethod. |
|
|
|
|
|
|
|
||||||||||||
|
It's suspected that there is a bug in the implementation of feedback; the performance is not as expected.
Implements TextQueryRetMethod. |
|
|
|
|
|
|
|
|
|
1.2.18