public final class Lucene46FieldInfosFormat extends FieldInfosFormat
Field names are stored in the field info file, with suffix .fnm.
FieldInfos (.fnm) --> Header,FieldsCount, <FieldName,FieldNumber, FieldBits,DocValuesBits,DocValuesGen,Attributes> FieldsCount
Data types:
CodecHeaderVIntStringByteVIntMap<String,String>Int64norms 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)DocValuesFormat.| Constructor and Description |
|---|
Lucene46FieldInfosFormat()
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
FieldInfosReader |
getFieldInfosReader()
Returns a
FieldInfosReader to read field infos
from the index |
FieldInfosWriter |
getFieldInfosWriter()
Returns a
FieldInfosWriter to write field infos
to the index |
public FieldInfosReader getFieldInfosReader() throws java.io.IOException
FieldInfosFormatFieldInfosReader to read field infos
from the indexgetFieldInfosReader in class FieldInfosFormatjava.io.IOExceptionpublic FieldInfosWriter getFieldInfosWriter() throws java.io.IOException
FieldInfosFormatFieldInfosWriter to write field infos
to the indexgetFieldInfosWriter in class FieldInfosFormatjava.io.IOExceptionCopyright © 2010 - 2024 Adobe. All Rights Reserved