|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.codecs.FieldInfosFormat org.apache.lucene.codecs.lucene42.Lucene42FieldInfosFormat
@Deprecated public class Lucene42FieldInfosFormat
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:
CodecHeader
VInt
String
Byte
VInt
Map<String,String>
norms
options, and the low-order bits representing
DocValues
options. Each four-bit integer can be decoded as such:
FieldInfo.DocValuesType.NUMERIC
)DocValuesType#BINARY
)DocValuesType#SORTED
)
Constructor Summary | |
---|---|
Lucene42FieldInfosFormat()
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 |
---|
public Lucene42FieldInfosFormat()
Method Detail |
---|
public FieldInfosReader getFieldInfosReader() throws IOException
FieldInfosFormat
FieldInfosReader
to read field infos
from the index
getFieldInfosReader
in class FieldInfosFormat
IOException
public FieldInfosWriter getFieldInfosWriter() throws IOException
FieldInfosFormat
FieldInfosWriter
to write field infos
to the index
getFieldInfosWriter
in class FieldInfosFormat
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |