We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 742ce89 commit cf38226Copy full SHA for cf38226
source/reference/command/validate.txt
@@ -184,11 +184,15 @@ Specify :ref:`full: true <cmd-validate-full>` for more detailed output.
184
185
.. data:: validate.nInvalidDocuments
186
187
- The number of invalid documents in the collection.
+ 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.
190
191
.. data:: validate.nNonCompliantDocuments
192
193
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`.
196
197
.. data:: validate.nrecords
198
0 commit comments