/** * Calls apache solr to answer the given user request. * * @param q the user query * @param req the solr query request object * @param start start of the query * @param limit the document limit * @return the result of the query * @throws IOException if bad things happen */ @Override public DocList doSimpleQuery(String q, SolrQueryRequest req, int start, int limit) throws IOException { return SolrPluginUtils.doSimpleQuery(q, req, start, limit); }
String otherQueryS = req.getParam("explainOther"); if (otherQueryS != null && otherQueryS.length() > 0) { DocList otherResults = doSimpleQuery (otherQueryS,req.getSearcher(), req.getSchema(),0,10); dbg.add("otherQuery",otherQueryS);
String otherQueryS = req.getParams().get(org.apache.solr.common.params.CommonParams.EXPLAIN_OTHER); if (otherQueryS != null && otherQueryS.length() > 0) { DocList otherResults = doSimpleQuery (otherQueryS,req.getSearcher(), req.getSchema(),0,10); dbg.add("otherQuery",otherQueryS);