C# (CSharp) Lucene.Net.Codecs DocValuesConsumer - 1 пример найден. Это лучшие примеры C# (CSharp) кода для Lucene.Net.Codecs.DocValuesConsumer, полученные из open source проектов. Вы можете ставить оценку каждому примеру, чтобы помочь нам улучшить качество примеров.
Abstract API that consumes numeric, binary and sorted docvalues. Concrete implementations of this actually do "something" with the docvalues (write it into the index in a specific format).
The lifecycle is:
DocValuesConsumer is created by DocValuesFormat#fieldsConsumer(SegmentWriteState) or NormsFormat#normsConsumer(SegmentWriteState).
#addNumericField, #addBinaryField, or #addSortedField are called for each Numeric, Binary, or Sorted docvalues field. The API is a "pull" rather than "push", and the implementation is free to iterate over the values multiple times (Iterable#iterator()).
After all fields are added, the consumer is #closed.