Class Lucene3xSegmentInfoFormat
java.lang.Object
org.apache.lucene.codecs.SegmentInfoFormat
org.apache.lucene.codecs.lucene3x.Lucene3xSegmentInfoFormat
Deprecated.
(4.0) This is only used to read indexes created
before 4.0.
Lucene3x ReadOnly SegmentInfoFormat implementation
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final int
Deprecated.Each segment records the Lucene version that created it.static final int
Deprecated.This format adds optional per-segment String diagnostics storage, and switches userData to Mapstatic final int
Deprecated.Each segment records whether it has term vectorsstatic final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.Extension used for saving each SegmentInfo, once a 3.x index is first committed to with 4.0.static final int
Deprecated.static final int
Deprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Deprecated.static int
Deprecated.static String
Deprecated.Deprecated.Returns theSegmentInfoReader
for readingSegmentInfo
instances.Deprecated.Returns theSegmentInfoWriter
for writingSegmentInfo
instances.
-
Field Details
-
FORMAT_DIAGNOSTICS
public static final int FORMAT_DIAGNOSTICSDeprecated.This format adds optional per-segment String diagnostics storage, and switches userData to Map- See Also:
-
FORMAT_HAS_VECTORS
public static final int FORMAT_HAS_VECTORSDeprecated.Each segment records whether it has term vectors- See Also:
-
FORMAT_3_1
public static final int FORMAT_3_1Deprecated.Each segment records the Lucene version that created it.- See Also:
-
UPGRADED_SI_EXTENSION
Deprecated.Extension used for saving each SegmentInfo, once a 3.x index is first committed to with 4.0.- See Also:
-
UPGRADED_SI_CODEC_NAME
Deprecated.- See Also:
-
UPGRADED_SI_VERSION_START
public static final int UPGRADED_SI_VERSION_STARTDeprecated.- See Also:
-
UPGRADED_SI_VERSION_CURRENT
public static final int UPGRADED_SI_VERSION_CURRENTDeprecated.- See Also:
-
DS_OFFSET_KEY
Deprecated. -
DS_NAME_KEY
Deprecated. -
DS_COMPOUND_KEY
Deprecated. -
NORMGEN_KEY
Deprecated. -
NORMGEN_PREFIX
Deprecated.
-
-
Constructor Details
-
Lucene3xSegmentInfoFormat
public Lucene3xSegmentInfoFormat()Deprecated.
-
-
Method Details
-
getSegmentInfoReader
Deprecated.Description copied from class:SegmentInfoFormat
Returns theSegmentInfoReader
for readingSegmentInfo
instances.- Specified by:
getSegmentInfoReader
in classSegmentInfoFormat
-
getSegmentInfoWriter
Deprecated.Description copied from class:SegmentInfoFormat
Returns theSegmentInfoWriter
for writingSegmentInfo
instances.- Specified by:
getSegmentInfoWriter
in classSegmentInfoFormat
-
getDocStoreOffset
Deprecated.- Returns:
- if this segment shares stored fields & vectors, this offset is where in that file this segment's docs begin
-
getDocStoreSegment
Deprecated.- Returns:
- name used to derive fields/vectors file we share with other segments
-
getDocStoreIsCompoundFile
Deprecated.- Returns:
- whether doc store files are stored in compound file (*.cfx)
-