java-client-api icon indicating copy to clipboard operation
java-client-api copied to clipboard

default QueryBatcher to 2 * forests

Open ehennum opened this issue 4 years ago • 2 comments

When processing document URIs in query mode QueryBatcher will be more efficient with two threads per forest (one to collect the document URIs and one to processing the documents). The change affects these lines:

https://github.com/marklogic/java-client-api/blob/master/marklogic-client-api/src/main/java/com/marklogic/client/datamovement/impl/QueryBatcherImpl.java#L371-L372

Doesn't require any new coverage. Running the unit tests would be sufficient.

ehennum avatar Jun 25 '20 22:06 ehennum

Will test this as part of new auto scaling story Java 194 (Jira task).

georgeajit avatar Nov 06 '20 18:11 georgeajit

There's no server-side change in this issue.

llinggit avatar Jul 13 '21 21:07 llinggit

@rjrudin, I believe that @llinggit already implemented a better solution that supports multiple processors per collector.

If that's correct, this one can be closed with extreme prejudice.

ehennum avatar Nov 22 '22 15:11 ehennum

Confirmed that a separate feature to address this has been implemented

rjrudin avatar Nov 22 '22 17:11 rjrudin