Class Lucene3xSegmentInfoFormat
- java.lang.Object
-
- org.apache.lucene.codecs.SegmentInfoFormat
-
- org.apache.lucene.codecs.lucene3x.Lucene3xSegmentInfoFormat
-
@Deprecated public class Lucene3xSegmentInfoFormat extends SegmentInfoFormat
Deprecated.(4.0) This is only used to read indexes created before 4.0.Lucene3x ReadOnly SegmentInfoFormat implementation
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDS_COMPOUND_KEYDeprecated.static java.lang.StringDS_NAME_KEYDeprecated.static java.lang.StringDS_OFFSET_KEYDeprecated.static intFORMAT_3_1Deprecated.Each segment records the Lucene version that created it.static intFORMAT_DIAGNOSTICSDeprecated.This format adds optional per-segment String diagnostics storage, and switches userData to Mapstatic intFORMAT_HAS_VECTORSDeprecated.Each segment records whether it has term vectorsstatic java.lang.StringNORMGEN_KEYDeprecated.static java.lang.StringNORMGEN_PREFIXDeprecated.static java.lang.StringUPGRADED_SI_CODEC_NAMEDeprecated.static java.lang.StringUPGRADED_SI_EXTENSIONDeprecated.Extension used for saving each SegmentInfo, once a 3.x index is first committed to with 4.0.static intUPGRADED_SI_VERSION_CURRENTDeprecated.static intUPGRADED_SI_VERSION_STARTDeprecated.
-
Constructor Summary
Constructors Constructor Description Lucene3xSegmentInfoFormat()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleangetDocStoreIsCompoundFile(SegmentInfo si)Deprecated.static intgetDocStoreOffset(SegmentInfo si)Deprecated.static java.lang.StringgetDocStoreSegment(SegmentInfo si)Deprecated.SegmentInfoReadergetSegmentInfoReader()Deprecated.Returns theSegmentInfoReaderfor readingSegmentInfoinstances.SegmentInfoWritergetSegmentInfoWriter()Deprecated.Returns theSegmentInfoWriterfor writingSegmentInfoinstances.
-
-
-
Field Detail
-
FORMAT_DIAGNOSTICS
public static final int FORMAT_DIAGNOSTICS
Deprecated.This format adds optional per-segment String diagnostics storage, and switches userData to Map- See Also:
- Constant Field Values
-
FORMAT_HAS_VECTORS
public static final int FORMAT_HAS_VECTORS
Deprecated.Each segment records whether it has term vectors- See Also:
- Constant Field Values
-
FORMAT_3_1
public static final int FORMAT_3_1
Deprecated.Each segment records the Lucene version that created it.- See Also:
- Constant Field Values
-
UPGRADED_SI_EXTENSION
public static final java.lang.String UPGRADED_SI_EXTENSION
Deprecated.Extension used for saving each SegmentInfo, once a 3.x index is first committed to with 4.0.- See Also:
- Constant Field Values
-
UPGRADED_SI_CODEC_NAME
public static final java.lang.String UPGRADED_SI_CODEC_NAME
Deprecated.- See Also:
- Constant Field Values
-
UPGRADED_SI_VERSION_START
public static final int UPGRADED_SI_VERSION_START
Deprecated.- See Also:
- Constant Field Values
-
UPGRADED_SI_VERSION_CURRENT
public static final int UPGRADED_SI_VERSION_CURRENT
Deprecated.- See Also:
- Constant Field Values
-
DS_OFFSET_KEY
public static final java.lang.String DS_OFFSET_KEY
Deprecated.
-
DS_NAME_KEY
public static final java.lang.String DS_NAME_KEY
Deprecated.
-
DS_COMPOUND_KEY
public static final java.lang.String DS_COMPOUND_KEY
Deprecated.
-
NORMGEN_KEY
public static final java.lang.String NORMGEN_KEY
Deprecated.
-
NORMGEN_PREFIX
public static final java.lang.String NORMGEN_PREFIX
Deprecated.
-
-
Method Detail
-
getSegmentInfoReader
public SegmentInfoReader getSegmentInfoReader()
Deprecated.Description copied from class:SegmentInfoFormatReturns theSegmentInfoReaderfor readingSegmentInfoinstances.- Specified by:
getSegmentInfoReaderin classSegmentInfoFormat
-
getSegmentInfoWriter
public SegmentInfoWriter getSegmentInfoWriter()
Deprecated.Description copied from class:SegmentInfoFormatReturns theSegmentInfoWriterfor writingSegmentInfoinstances.- Specified by:
getSegmentInfoWriterin classSegmentInfoFormat
-
getDocStoreOffset
public static int getDocStoreOffset(SegmentInfo si)
Deprecated.- Returns:
- if this segment shares stored fields & vectors, this offset is where in that file this segment's docs begin
-
getDocStoreSegment
public static java.lang.String getDocStoreSegment(SegmentInfo si)
Deprecated.- Returns:
- name used to derive fields/vectors file we share with other segments
-
getDocStoreIsCompoundFile
public static boolean getDocStoreIsCompoundFile(SegmentInfo si)
Deprecated.- Returns:
- whether doc store files are stored in compound file (*.cfx)
-
-