Does anyone know if there is such a thing as a BatchSolrServer object in the solrj code? I am currently using the ConcurrentUpdateSolrServer, but it isn't doing quite what I expected. It will distribute the load of sending through the http client through different threads and manage the connections, but it does not package the documents in bundles. This can be done manually by calling solrServer.add(Collection<SolrInputDocument> documents), which will create an UpdateRequest object for the entire collection. When the ConcurrentUpdateSolrServer gets to this UpdateRequest it will send all of the documents together in a single http call.
What I want to be able to do is call solrServer.add(SolInputDocument document) and have the SolrServer grab the next batch (up to a specified size) and then create an UpdateRequest. This would reduce the number of individual Requests the SOLR servers have to handle as well as any per http call overhead incurred. Would this kind of functionality be worth while to anyone else? Should I create such a SolrServer object? -- View this message in context: http://lucene.472066.n3.nabble.com/Batch-Solr-Server-tp4088657.html Sent from the Solr - User mailing list archive at Nabble.com.