@Deprecated public class Lucene40FieldInfosFormat extends FieldInfosFormat
Field names are stored in the field info file, with suffix .fnm.
FieldInfos (.fnm) --> Header,FieldsCount, <FieldName,FieldNumber, FieldBits,DocValuesBits,Attributes> FieldsCount
Data types:
CodecHeaderVIntStringByteVIntMap<String,String>norms options, and the low-order bits representing
DocValues options. Each four-bit integer can be decoded as such:
Type#VAR_INTS VAR_INTS)Type#FLOAT_32 FLOAT_32)Type#FLOAT_64 FLOAT_64)Type#BYTES_FIXED_STRAIGHT BYTES_FIXED_STRAIGHT)Type#BYTES_FIXED_DEREF BYTES_FIXED_DEREF)Type#BYTES_VAR_STRAIGHT BYTES_VAR_STRAIGHT)Type#BYTES_VAR_DEREF BYTES_VAR_DEREF)Type#FIXED_INTS_16 FIXED_INTS_16)Type#FIXED_INTS_32 FIXED_INTS_32)Type#FIXED_INTS_64 FIXED_INTS_64)Type#FIXED_INTS_8 FIXED_INTS_8)Type#BYTES_FIXED_SORTED BYTES_FIXED_SORTED)Type#BYTES_VAR_SORTED BYTES_VAR_SORTED)| Constructor and Description |
|---|
Lucene40FieldInfosFormat()
Deprecated.
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
public Lucene40FieldInfosFormat()
public FieldInfosReader getFieldInfosReader() throws IOException
FieldInfosFormatFieldInfosReader to read field infos
from the indexgetFieldInfosReader in class FieldInfosFormatIOExceptionpublic FieldInfosWriter getFieldInfosWriter() throws IOException
FieldInfosFormatFieldInfosWriter to write field infos
to the indexgetFieldInfosWriter in class FieldInfosFormatIOExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.