: SolrIndexSearcher.QueryCommand cmd = rb.getQueryCommand(); : SolrIndexSearcher.QueryResult result = new SolrIndexSearcher.QueryResult(); : searcher.search(result, cmd); : rb.setResult(result); : response.add("response", builder.getREsults().docList);
what else do you do with "rb" before this? ... are you usinga QParser at all? do you ever call rb.setSortSpec() ? ... it's possible that you are just getting a "limit" of 0 (ie: nothing is looking at your "rows" param) you may also need to explicilty call rb.setNeedDocSet or rb.setNeedDocList ... i don't remember how they default or who is responsible for setting them. -Hoss