|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.codecs.Codec
org.apache.lucene.codecs.lucene40.Lucene40Codec
public class Lucene40Codec
Implements the Lucene 4.0 index format, with configurable per-field postings formats.
package documentation for file format details.
Constructor Summary | |
---|---|
Lucene40Codec()
|
Method Summary | |
---|---|
DocValuesFormat |
docValuesFormat()
Encodes/decodes docvalues |
FieldInfosFormat |
fieldInfosFormat()
Encodes/decodes field infos file |
PostingsFormat |
getPostingsFormatForField(String field)
Returns the postings format that should be used for writing new segments of field . |
LiveDocsFormat |
liveDocsFormat()
Encodes/decodes live docs |
NormsFormat |
normsFormat()
Encodes/decodes document normalization values |
PostingsFormat |
postingsFormat()
Encodes/decodes postings |
SegmentInfoFormat |
segmentInfoFormat()
Encodes/decodes segment info file |
StoredFieldsFormat |
storedFieldsFormat()
Encodes/decodes stored fields |
TermVectorsFormat |
termVectorsFormat()
Encodes/decodes term vectors |
Methods inherited from class org.apache.lucene.codecs.Codec |
---|
availableCodecs, forName, getDefault, getName, reloadCodecs, setDefault, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Lucene40Codec()
Method Detail |
---|
public StoredFieldsFormat storedFieldsFormat()
Codec
storedFieldsFormat
in class Codec
public TermVectorsFormat termVectorsFormat()
Codec
termVectorsFormat
in class Codec
public DocValuesFormat docValuesFormat()
Codec
docValuesFormat
in class Codec
public PostingsFormat postingsFormat()
Codec
postingsFormat
in class Codec
public FieldInfosFormat fieldInfosFormat()
Codec
fieldInfosFormat
in class Codec
public SegmentInfoFormat segmentInfoFormat()
Codec
segmentInfoFormat
in class Codec
public NormsFormat normsFormat()
Codec
normsFormat
in class Codec
public LiveDocsFormat liveDocsFormat()
Codec
liveDocsFormat
in class Codec
public PostingsFormat getPostingsFormatForField(String field)
field
.
The default implementation always returns "Lucene40"
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |