/** returns the name of the matching model that should be used for retrieval */ @Deprecated public String getMatchingModel() { return getControl("mmodel"); } /** Set the result set returned by this object to be this results.
hasResultSet = rq.getResultSet() != null; rq.setControl("previousprocess", p.getClass().getName()); rq.setControl("runname", rq.getControl("runname")+ "_" + p.getInfo()); processesDone.add(p.getInfo()); ran++;
hasResultSet = rq.getResultSet() != null; rq.setControl("previousprocess", p.getClass().getName()); rq.setControl("runname", rq.getControl("runname")+ "_" + p.getInfo()); processesDone.add(p.getInfo()); ran++;
/** returns the name of the matching model that should be used for retrieval */ @Deprecated public String getMatchingModel() { return getControl("mmodel"); } /** Set the result set returned by this object to be this results.
String tmp = rq.getControl("start");/* 0 based */ if (tmp.length() == 0) tmp = "0"; int Start = Integer.parseInt(tmp); tmp = rq.getControl("end"); if (tmp.length() == 0) tmp = "0";
/** returns the name of the weighting model that should be used for retrieval */ @Deprecated public String getWeightingModel() { return getControl("wmodel"); } /** returns the name of the matching model that should be used for retrieval */
String tmp = rq.getControl("start");/* 0 based */ if (tmp.length() == 0) tmp = "0"; int Start = Integer.parseInt(tmp); tmp = rq.getControl("end"); if (tmp.length() == 0) tmp = "0";
/** returns the name of the weighting model that should be used for retrieval */ @Deprecated public String getWeightingModel() { return getControl("wmodel"); } /** returns the name of the matching model that should be used for retrieval */
final String param = rq.getControl("c"); if (rq.getControl("c_set").equals("true") && param.length() > 0) wmodel.setParameter(Double.parseDouble(param)); info.append(wmodel.getInfo());
final String param = rq.getControl("c"); if (rq.getControl("c_set").equals("true") && param.length() > 0) wmodel.setParameter(Double.parseDouble(param)); info.append(wmodel.getInfo());
/** Returns the weighting model requested by the Request from * the WeightingModel factory. * @param rq The name of the weighting model to instantiate */ protected static Model getWeightingModel(Request rq) { String wmodel = rq.getControl(CONTROL_WMODEL, ApplicationSetup.getProperty("trec.model", "DPH")); return WeightingModelFactory.newInstance(wmodel, rq.getIndex()); }
String ModelName = rq.getControl(CONTROL_MATCHING, DEFAULT_MATCHING);
/** Returns the weighting model requested by the Request from * the WeightingModel factory. * @param rq The name of the weighting model to instantiate */ protected static Model getWeightingModel(Request rq) { String wmodel = rq.getControl(CONTROL_WMODEL, ApplicationSetup.getProperty("trec.model", "DPH")); return WeightingModelFactory.newInstance(wmodel, rq.getIndex()); }
String ModelName = rq.getControl(CONTROL_MATCHING, DEFAULT_MATCHING);
String qeModel = q.getControl("qemodel"); if (qeModel == null || qeModel.length() ==0) ((LocalManager)manager).processModuleManager.getModule(q.getControl("previousprocess")).process(manager, q);
String qeModel = q.getControl("qemodel"); if (qeModel == null || qeModel.length() ==0) ((LocalManager)manager).processModuleManager.getModule(q.getControl("previousprocess")).process(manager, q);
if (rq.getControl("c_set").equals("true")) wmodel.setParameter(Double.parseDouble(rq.getControl("c")));
if (rq.getControl("c_set").equals("true")) wmodel.setParameter(Double.parseDouble(rq.getControl("c")));