doc.tokenized.norms - specifies whether norms should be stored in
the index or not. (default false).

doc.body.tokenized.norms - specifies whether norms should be
stored in the index for the body field. This can be set to true, while
doc.tokenized.norms is set to false, to allow norms storing just
for the body field. (default true).

doc.term.vector - specifies whether term vectors should be stored
for fields (default false).

doc.term.vector.positions - specifies whether term vectors should
be stored with positions (default false).

doc.term.vector.offsets - specifies whether term vectors should be
stored with offsets (default false).

doc.store.body.bytes - specifies whether to store the raw bytes of
the document's content in the document (default false).

doc.reuse.fields - specifies whether Field and Document objects
should be reused (default true).

doc.index.props - specifies whether the properties returned by

doc.random.id.limit - if specified, docs will be assigned random
IDs from 0 to this limit. This is useful with UpdateDoc
for testing performance of IndexWriter.updateDocument.
DocData.getProps() will be indexed. (default false).

getTotalBytesCount

makeDocument

Creates a Document object ready for indexing. This method uses the
ContentSource to get the next document from the source, and creates
a Document object from the returned fields. If
reuseFields was set to true, it will reuse Document
and Field instances.