Skip to content

Commit cf38226

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
Docs-15364 invalid documents (#1450)
* DOCS-15364-invalid-documents * DOCS-15364-invalid-documents * DOCS-15364-invalid-documents * DOCS-15364-invalid-documents Co-authored-by: jason-price-mongodb <[email protected]>
1 parent 742ce89 commit cf38226

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

source/reference/command/validate.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,15 @@ Specify :ref:`full: true <cmd-validate-full>` for more detailed output.
184184

185185
.. data:: validate.nInvalidDocuments
186186

187-
The number of invalid documents in the collection.
187+
The number of invalid documents in the collection. Invalid documents
188+
are those that are not readable, which means the :term:`BSON`
189+
document is corrupt and has an error or a size mismatch.
188190

189191
.. data:: validate.nNonCompliantDocuments
190192

191193
The number of documents not conforming to the collection's schema.
194+
Non-compliant documents are not counted as invalid in
195+
:data:`~validate.nInvalidDocuments`.
192196

193197
.. data:: validate.nrecords
194198

0 commit comments

Comments
 (0)