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 StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final intDeprecated.Each segment records the Lucene version that created it.static final intDeprecated.This format adds optional per-segment String diagnostics storage, and switches userData to Mapstatic final intDeprecated.Each segment records whether it has term vectorsstatic final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.Extension used for saving each SegmentInfo, once a 3.x index is first committed to with 4.0.static final intDeprecated.static final intDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanDeprecated.static intDeprecated.static StringDeprecated.Deprecated.Returns theSegmentInfoReaderfor readingSegmentInfoinstances.Deprecated.Returns theSegmentInfoWriterfor writingSegmentInfoinstances.
-
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:SegmentInfoFormatReturns theSegmentInfoReaderfor readingSegmentInfoinstances.- Specified by:
getSegmentInfoReaderin classSegmentInfoFormat
-
getSegmentInfoWriter
Deprecated.Description copied from class:SegmentInfoFormatReturns theSegmentInfoWriterfor writingSegmentInfoinstances.- Specified by:
getSegmentInfoWriterin 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)
-