This class accepts multiple added documents and directly writes a single segment file. It does this more efficiently than creating a single segment per document (with DocumentWriter) and doing standard merges on those segments. More...
Consumer returns this on each doc. This holds any state that must be flushed synchronized "in docID order". We gather these and flush them in order. More...