Skip to content

Commit 474b5f1

Browse files
authored
Merge pull request #4678 from vespa-engine/hmusum/update-max-document-size-doc
Update docs with default value for max-document-size
2 parents ea66a29 + 78b9617 commit 474b5f1

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

en/learn/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ see the [pin results example](../ranking/multivalue-query-operators.html#pin-res
124124
## Documents
125125
126126
### What limits apply to document size?
127-
There is a [maximum document size](../reference/applications/services/content.html#max-document-size) of 128 MiB,
127+
There is a [maximum document size](../reference/applications/services/container.html#document-api) of 100 MiB,
128128
which is configurable per content cluster in services.xml.
129129
130130
### Is there any size limitation for multivalued fields?

en/reference/applications/services/container.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ <h2 id="document-api">document-api</h2>
507507
<tr><th>max-document-size</th>
508508
<td>optional</td>
509509
<td>string</td>
510-
<td>128MiB</td>
510+
<td>100MiB</td>
511511
<td>
512512
<p id="max-document-size">
513513
Specifies the maximum size of a document operation request accepted by the container,

en/reference/applications/services/content.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1480,7 +1480,10 @@ <h2 id="max-document-size">max-document-size</h2>
14801480
be used for all document types. A document larger than this limit will be rejected by the
14811481
distributor. Note that some document operations that don't contain the entire document, like
14821482
<a href="../../../writing/document-api-guide.html#document-updates">document updates</a>
1483-
might increase the size of a document above this limit.
1483+
might increase the size of a document above this limit. See
1484+
also <a href="en/reference/applications/services/container.html#document-api">max-document-size</a>
1485+
for document api, which is probably what you want to configure, make sure to keep the
1486+
value documented here larger.
14841487
</p>
14851488
<p>
14861489
Valid values are numbers including a unit (e.g. <em>10MiB</em>) and the value must be between 1Mib and 2048 Mib (inclusive).

0 commit comments

Comments
 (0)