FieldsConsumer
Abstract API that consumes terms, doc, freq, prox, offset and payloads postings. Concrete implementations of this actually do "something" with the postings (write it into the index in a specific format).
Inheritors
Functions
Link copied to clipboard
Merges in the fields from the readers in mergeState. The default implementation skips and maps around deleted documents, and calls .write. Implementations can override this method for more sophisticated merging (bulk-byte copying, etc).
Link copied to clipboard
Write all fields, terms and postings. This the "pull" API, allowing you to iterate more than once over the postings, somewhat analogous to using a DOM API to traverse an XML tree.