org.apache.lucene.codecs.lucene40
Class Lucene40FieldInfosFormat

java.lang.Object
  extended by org.apache.lucene.codecs.FieldInfosFormat
      extended by org.apache.lucene.codecs.lucene40.Lucene40FieldInfosFormat

Deprecated. Only for reading old 4.0 and 4.1 segments

@Deprecated
public class Lucene40FieldInfosFormat
extends FieldInfosFormat

Lucene 4.0 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
Lucene40FieldInfosFormat()
          Deprecated. Sole constructor.
 
Method Summary
 FieldInfosReader getFieldInfosReader()
          Deprecated. Returns a FieldInfosReader to read field infos from the index
 FieldInfosWriter getFieldInfosWriter()
          Deprecated. 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

Lucene40FieldInfosFormat

public Lucene40FieldInfosFormat()
Deprecated. 
Sole constructor.

Method Detail

getFieldInfosReader

public FieldInfosReader getFieldInfosReader()
                                     throws IOException
Deprecated. 
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
Deprecated. 
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.