/** * Generates a SolrQueryRequest using the LocalRequestFactory * @see #lrf */ public SolrQueryRequest req(String[] params, String... moreParams) { String[] allParams = moreParams; if (params.length!=0) { int len = params.length + moreParams.length; allParams = new String[len]; System.arraycopy(params,0,allParams,0,params.length); System.arraycopy(moreParams,0,allParams,params.length,moreParams.length); } return lrf.makeRequest(allParams); }
/** * Generates a SolrQueryRequest using the LocalRequestFactory * @see #lrf */ public static SolrQueryRequest req(String[] params, String... moreParams) { String[] allParams = moreParams; if (params.length!=0) { int len = params.length + moreParams.length; allParams = new String[len]; System.arraycopy(params,0,allParams,0,params.length); System.arraycopy(moreParams,0,allParams,params.length,moreParams.length); } return lrf.makeRequest(allParams); }
public LocalRequestFactory getRequestFactory(String qtype, int start, int limit) { LocalRequestFactory f = new LocalRequestFactory(); f.qtype = qtype; f.start = start; f.limit = limit; return f; }
/** * Generates a SolrQueryRequest using the LocalRequestFactory * @see #lrf */ public SolrQueryRequest req(String... q) { return lrf.makeRequest(q); }
public LocalRequestFactory getRequestFactory(String qtype, int start, int limit) { LocalRequestFactory f = new LocalRequestFactory(); f.qtype = qtype; f.start = start; f.limit = limit; return f; }
/** * Generates a SolrQueryRequest using the LocalRequestFactory * @see #lrf */ public static SolrQueryRequest req(String... q) { return lrf.makeRequest(q); }