@Deprecated public class Lucene50Codec extends Codec
If you want to reuse functionality of this codec in another codec, extend
FilterCodec
.
Constructor and Description |
---|
Lucene50Codec()
Deprecated.
Instantiates a new codec.
|
Lucene50Codec(Lucene50StoredFieldsFormat.Mode mode)
Deprecated.
Instantiates a new codec, specifying the stored fields compression
mode to use.
|
Modifier and Type | Method and Description |
---|---|
CompoundFormat |
compoundFormat()
Deprecated.
|
DocValuesFormat |
docValuesFormat()
Deprecated.
|
FieldInfosFormat |
fieldInfosFormat()
Deprecated.
|
DocValuesFormat |
getDocValuesFormatForField(String field)
Deprecated.
Returns the docvalues format that should be used for writing
new segments of
field . |
PostingsFormat |
getPostingsFormatForField(String field)
Deprecated.
Returns the postings format that should be used for writing
new segments of
field . |
LiveDocsFormat |
liveDocsFormat()
Deprecated.
|
NormsFormat |
normsFormat()
Deprecated.
|
PostingsFormat |
postingsFormat()
Deprecated.
|
SegmentInfoFormat |
segmentInfoFormat()
Deprecated.
|
StoredFieldsFormat |
storedFieldsFormat()
Deprecated.
|
TermVectorsFormat |
termVectorsFormat()
Deprecated.
|
availableCodecs, forName, getDefault, getName, reloadCodecs, setDefault, toString
public Lucene50Codec()
public Lucene50Codec(Lucene50StoredFieldsFormat.Mode mode)
mode
- stored fields compression mode to use for newly
flushed/merged segments.public final StoredFieldsFormat storedFieldsFormat()
storedFieldsFormat
in class Codec
public final TermVectorsFormat termVectorsFormat()
termVectorsFormat
in class Codec
public final PostingsFormat postingsFormat()
postingsFormat
in class Codec
public final FieldInfosFormat fieldInfosFormat()
fieldInfosFormat
in class Codec
public final SegmentInfoFormat segmentInfoFormat()
segmentInfoFormat
in class Codec
public final LiveDocsFormat liveDocsFormat()
liveDocsFormat
in class Codec
public final CompoundFormat compoundFormat()
compoundFormat
in class Codec
public PostingsFormat getPostingsFormatForField(String field)
field
.
The default implementation always returns "Lucene50".
WARNING: if you subclass, you are responsible for index backwards compatibility: future version of Lucene are only guaranteed to be able to read the default implementation.
public DocValuesFormat getDocValuesFormatForField(String field)
field
.
The default implementation always returns "Lucene50".
WARNING: if you subclass, you are responsible for index backwards compatibility: future version of Lucene are only guaranteed to be able to read the default implementation.
public final DocValuesFormat docValuesFormat()
docValuesFormat
in class Codec
public NormsFormat normsFormat()
normsFormat
in class Codec
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.