client = Solr.httpServer(new URL("http://localhost:8983/solr")).getNewClient();
}
@Test
public void doQuery() throws Exception {
QueryRequest request = new QueryRequest(new Query("author:Rick"));
QueryResponse response = client.doQuery(request);
assertThat(response.getResponseHeader(), is(notNullValue()));
assertThat(response.getResponse(), is(notNullValue()));
assertThat(response.getHighlightings(), is(notNullValue()));
assertThat(response.getMoreLikeThis(), is(notNullValue()));