You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Mike Drob (Jira)" <ji...@apache.org> on 2022/03/11 18:49:00 UTC
[jira] [Commented] (SOLR-16097) Batch updates when creating test indices
[ https://issues.apache.org/jira/browse/SOLR-16097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17505071#comment-17505071 ]
Mike Drob commented on SOLR-16097:
----------------------------------
Initial experimentation shows that batching 100 documents at a time speeds up {{TestDistributedStatsComponentCardinality}} from 29 seconds to 17 seconds on my machine.
> Batch updates when creating test indices
> ----------------------------------------
>
> Key: SOLR-16097
> URL: https://issues.apache.org/jira/browse/SOLR-16097
> Project: Solr
> Issue Type: Test
> Reporter: Mike Drob
> Priority: Major
>
> There are a few places where we will build an index for a test by repeatedly calling {{indexDoc(doc(...))}} in a loop. This sends a single document per request and 1) is slow and 2) produces a lot of log output.
> We can do better by batching. Optimal batch size could be experimentally determined, but I suspect that there are going to be many values which are an improvement and "good enough"
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org