org.apache.lucene.codecs.lucene42
Class Lucene42FieldInfosFormat

java.lang.Object
  extended by org.apache.lucene.codecs.FieldInfosFormat
      extended by org.apache.lucene.codecs.lucene42.Lucene42FieldInfosFormat

public final class Lucene42FieldInfosFormat
extends FieldInfosFormat

Lucene 4.2 Field Infos format.

Field names are stored in the field info file, with suffix .fnm.

FieldInfos (.fnm) --> Header,FieldsCount, <FieldName,FieldNumber, FieldBits,DocValuesBits,Attributes> FieldsCount

Data types:

Field Descriptions:

WARNING: This API is experimental and might change in incompatible ways in the next release.

Constructor Summary
Lucene42FieldInfosFormat()
          Sole constructor.
 
Method Summary
 FieldInfosReader getFieldInfosReader()
          Returns a FieldInfosReader to read field infos from the index
 FieldInfosWriter getFieldInfosWriter()
          Returns a FieldInfosWriter to write field infos to the index
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lucene42FieldInfosFormat

public Lucene42FieldInfosFormat()
Sole constructor.

Method Detail

getFieldInfosReader

public FieldInfosReader getFieldInfosReader()
                                     throws IOException
Description copied from class: FieldInfosFormat
Returns a FieldInfosReader to read field infos from the index

Specified by:
getFieldInfosReader in class FieldInfosFormat
Throws:
IOException

getFieldInfosWriter

public FieldInfosWriter getFieldInfosWriter()
                                     throws IOException
Description copied from class: FieldInfosFormat
Returns a FieldInfosWriter to write field infos to the index

Specified by:
getFieldInfosWriter in class FieldInfosFormat
Throws:
IOException


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