The commitWithin attribute of an add request allows the server to automatically
commit added documents within the specified number of milliseconds; this saves
manually making commit calls and is more efficient than using the autoCommit
settings in Solr.
The changes required for this are very simple, as it's just another attribute
on the <add> document. The attached patch adds a commitWithin value to the
addDocument and addDocuments methods; the default behaviour is not to add this
to the add call, so backwards compatibility is maintained.
Original issue reported on code.google.com by liam.obo...@gmail.com on 4 Oct 2010 at 12:04
Original issue reported on code.google.com by
liam.obo...@gmail.com
on 4 Oct 2010 at 12:04Attachments: