Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-14725 update batchSize parameter docs for update() and delete() stream expressions (#1729)

Eric Pugh5edd4b21af09
diff --git a/solr/solr-ref-guide/src/stream-decorator-reference.adoc b/solr/solr-ref-guide/src/stream-decorator-reference.adoc
index f8ded82ceb8..7d97cbc8782 100644
--- a/solr/solr-ref-guide/src/stream-decorator-reference.adoc
+++ b/solr/solr-ref-guide/src/stream-decorator-reference.adoc
@@ -603,7 +603,7 @@ This is similar to the `<<#update,update()>>` function described below.
=== delete Parameters
* `destinationCollection`: (Mandatory) The collection where the tuples will deleted.
-* `batchSize`: (Mandatory) The indexing batch size.
+* `batchSize`: (Optional, defaults to `250`) The delete batch size.
* `pruneVersionField`: (Optional, defaults to `false`) Whether to prune `\_version_` values from tuples
* `StreamExpression`: (Mandatory)
@@ -1316,8 +1316,8 @@ The `update` function wraps another functions and sends the tuples to a SolrClou
=== update Parameters
* `destinationCollection`: (Mandatory) The collection where the tuples will indexed.
-* `batchSize`: (Mandatory) The indexing batch size.
-* `pruneVersionField`: (Optional, defaults to `true`) Wether to prune `\_version_` values from tuples
+* `batchSize`: (Optional, defaults to `250`) The indexing batch size.
+* `pruneVersionField`: (Optional, defaults to `true`) Whether to prune `\_version_` values from tuples
* `StreamExpression`: (Mandatory)
=== update Syntax