What is the cleanest way to use the commitWithin directive with SolrJ? AbstractUpdateRequest has a setCommitWithin() method, but I don't see how to hook that into SolrServer.add(SolrInputDocument doc).
Do I need to use SolrServer.request(), or do I need to use some other method? Thanks.