|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.lucene.codecs.FieldInfosFormat
org.apache.lucene.codecs.lucene40.Lucene40FieldInfosFormat
public class Lucene40FieldInfosFormat
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:
CodecHeaderVIntStringByteVIntMap<String,String>norms options, and the low-order bits representing
DocValues options. Each four-bit integer can be decoded as such:
VAR_INTS)FLOAT_32)FLOAT_64)BYTES_FIXED_STRAIGHT)BYTES_FIXED_DEREF)BYTES_VAR_STRAIGHT)BYTES_VAR_DEREF)FIXED_INTS_16)FIXED_INTS_32)FIXED_INTS_64)FIXED_INTS_8)BYTES_FIXED_SORTED)BYTES_VAR_SORTED)
| Constructor Summary | |
|---|---|
Lucene40FieldInfosFormat()
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 |
|---|
public Lucene40FieldInfosFormat()
| Method Detail |
|---|
public FieldInfosReader getFieldInfosReader()
throws IOException
FieldInfosFormatFieldInfosReader to read field infos
from the index
getFieldInfosReader in class FieldInfosFormatIOException
public FieldInfosWriter getFieldInfosWriter()
throws IOException
FieldInfosFormatFieldInfosWriter to write field infos
to the index
getFieldInfosWriter in class FieldInfosFormatIOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||