//<start id="solrj-search-1"/>
SolrQuery queryParams = new SolrQuery();//<co id="solrj-search.co.query"/>
queryParams.setFields("description", "title");//<co id="solrj-search.co.fields"/>
queryParams.setQuery("description:win OR description:all");//<co id="solrj-search.co.terms"/>
queryParams.setRows(10);
QueryResponse response = solr.query(queryParams);//<co id="solrj-search.co.process"/>
assertTrue("response is null and it shouldn't be", response != null);
SolrDocumentList documentList = response.getResults();
System.out.println("Docs: " + documentList);
assertTrue("response.getResults() Size: " + documentList.size() +
" is not: " + 3, documentList.size() == 3);