/** Set the matching model and weighting model that the Manager should use for this query * @param MatchingModelName the String class name that should be used * @param WeightingModelName the String class name that should be used */ public void addMatchingModel(String MatchingModelName, String WeightingModelName){ setControl("mmodel", MatchingModelName); setControl("wmodel", WeightingModelName); } /** Set the query to be a parsed Query syntax tree, as generated by the Terrier query parser
/** Set the matching model and weighting model that the Manager should use for this query * @param MatchingModelName the String class name that should be used * @param WeightingModelName the String class name that should be used */ public void addMatchingModel(String MatchingModelName, String WeightingModelName){ setControl("mmodel", MatchingModelName); setControl("wmodel", WeightingModelName); } /** Set the query to be a parsed Query syntax tree, as generated by the Terrier query parser
q.setControl("QE.ExpandedQuery", newQuery.toString()); final boolean no2ndPass = Boolean.parseBoolean(ApplicationSetup.getProperty("qe.no.2nd.matching", "false")); if (no2ndPass)
List<String> processesDone = new ArrayList<String>(); int ran = 0; rq.setControl("runname", ""); while(iter.hasNext()) hasRawQuery = rq.getOriginalQuery() != null; hasResultSet = rq.getResultSet() != null; rq.setControl("previousprocess", p.getClass().getName()); rq.setControl("runname", rq.getControl("runname")+ "_" + p.getInfo()); processesDone.add(p.getInfo()); ran++;
q.setControl("QE.ExpandedQuery", newQuery.toString()); final boolean no2ndPass = Boolean.parseBoolean(ApplicationSetup.getProperty("qe.no.2nd.matching", "false")); if (no2ndPass)
List<String> processesDone = new ArrayList<String>(); int ran = 0; rq.setControl("runname", ""); while(iter.hasNext()) hasRawQuery = rq.getOriginalQuery() != null; hasResultSet = rq.getResultSet() != null; rq.setControl("previousprocess", p.getClass().getName()); rq.setControl("runname", rq.getControl("runname")+ "_" + p.getInfo()); processesDone.add(p.getInfo()); ran++;