Examples of Lucene45DocValuesConsumer


Examples of org.apache.lucene.codecs.lucene45.Lucene45DocValuesConsumer

/** Norms format that keeps all norms on disk */
public final class DiskNormsFormat extends NormsFormat {

  @Override
  public DocValuesConsumer normsConsumer(SegmentWriteState state) throws IOException {
    return new Lucene45DocValuesConsumer(state, DATA_CODEC, DATA_EXTENSION, META_CODEC, META_EXTENSION);
  }
View Full Code Here

Examples of org.apache.lucene.codecs.lucene45.Lucene45DocValuesConsumer

    super("Disk");
  }

  @Override
  public DocValuesConsumer fieldsConsumer(SegmentWriteState state) throws IOException {
    return new Lucene45DocValuesConsumer(state, DATA_CODEC, DATA_EXTENSION, META_CODEC, META_EXTENSION) {
      @Override
      protected void addTermsDict(FieldInfo field, Iterable<BytesRef> values) throws IOException {
        addBinaryField(field, values);
      }
    };
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.