Package org.apache.lucene.codecs.diskdv

Examples of org.apache.lucene.codecs.diskdv.DiskDocValuesConsumer


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

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


    super("CheapBastard");
  }

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

TOP

Related Classes of org.apache.lucene.codecs.diskdv.DiskDocValuesConsumer

Copyright © 2018 www.massapicom. 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.