org.apache.lucene.codecs.lucene40
Class Lucene40DocValuesFormat

java.lang.Object
  extended by org.apache.lucene.codecs.DocValuesFormat
      extended by org.apache.lucene.codecs.lucene40.Lucene40DocValuesFormat

public class Lucene40DocValuesFormat
extends DocValuesFormat

Lucene 4.0 DocValues format.

Files:

Entries within the compound file:

There are several many types of DocValues with different encodings. From the perspective of filenames, all types store their values in .dat entries within the compound file. In the case of dereferenced/sorted types, the .dat actually contains only the unique values, and an additional .idx file contains pointers to these unique values.

Formats: Data Types: Notes:


Constructor Summary
Lucene40DocValuesFormat()
          Sole constructor.
 
Method Summary
 PerDocConsumer docsConsumer(PerDocWriteState state)
          Consumes (writes) doc values during indexing.
 PerDocProducer docsProducer(SegmentReadState state)
          Produces (reads) doc values during reading/searching.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lucene40DocValuesFormat

public Lucene40DocValuesFormat()
Sole constructor.

Method Detail

docsConsumer

public PerDocConsumer docsConsumer(PerDocWriteState state)
                            throws IOException
Description copied from class: DocValuesFormat
Consumes (writes) doc values during indexing.

Specified by:
docsConsumer in class DocValuesFormat
Throws:
IOException

docsProducer

public PerDocProducer docsProducer(SegmentReadState state)
                            throws IOException
Description copied from class: DocValuesFormat
Produces (reads) doc values during reading/searching.

Specified by:
docsProducer in class DocValuesFormat
Throws:
IOException


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.