#include <RetMethodManager.hpp>
Public Types | |
enum | RetModel { UNKNOWN = -1, TFIDF = 0, OKAPI = 1, KL = 2, INQUERY = 3, CORI_CS = 4, COS = 5, INQ_STRUCT = 6, INDRI = 7 } |
Static Public Member Functions | |
RetrievalMethod * | createModel (const Index *ind, ScoreAccumulator *accum, RetModel type) |
use specified model or check in parameters | |
RetrievalMethod * | createModel (const Index *ind, ScoreAccumulator *accum, string type="") |
use specified model or check in parameters | |
IndexedRealVector * | runQuery (const string &query, const Index *index, const string &modeltype, const string &stopfile="", const string &stemtype="", const string &datadir="", const string &func="") |
IndexedRealVector * | runTextQuery (const string &query, TextQueryRetMethod *model, const string &stopfile="", const string &stemtype="", const string &datadir="", const string &func="") |
IndexedRealVector * | runStructQuery (const string &query, StructQueryRetMethod *model, const string &stopfile="", const string &stemtype="", const string &datadir="", const string &func="") |
|
|
|
use specified model or check in parameters
|
|
use specified model or check in parameters
|
|
automatically generate retrieval and query models from the given query stopword file and stemmer are optional specify model using string type name query terms delimited by space delete IndexedRealVector |
|
automatically generate query models from the given query and run through given retrieval model. stopword file and stemmer are optional query terms delimited by space delete IndexedRealVector returned |
|
automatically generate query models from the given query and run through given retrieval model. stopword file and stemmer are optional query terms delimited by space delete IndexedRealVector returned |