addresses[0]=new InetSocketAddress("localhost", port);
Client c=new DistributedSearch.Client(addresses, conf);
Query query=Query.parse("apache", conf);
Hits hits=c.search(query, 5, null, null, false);
c.getDetails(hits.getHit(0));
assertTrue(hits.getTotal()>0);
}
}