maxDoc

Parameters

maxDoc

The total number of documents in the range [1 .. Long.MAX_VALUE], regardless of whether they all contain values for this field.

This value is always a positive number. @see IndexReader#maxDoc()