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 String
DS_COMPOUND_KEY
Deprecated.static String
DS_NAME_KEY
Deprecated.static String
DS_OFFSET_KEY
Deprecated.static int
FORMAT_3_1
Deprecated.Each segment records the Lucene version that created it.static int
FORMAT_DIAGNOSTICS
Deprecated.This format adds optional per-segment String diagnostics storage, and switches userData to Mapstatic int
FORMAT_HAS_VECTORS
Deprecated.Each segment records whether it has term vectorsstatic String
NORMGEN_KEY
Deprecated.static String
NORMGEN_PREFIX
Deprecated.static String
UPGRADED_SI_CODEC_NAME
Deprecated.static String
UPGRADED_SI_EXTENSION
Deprecated.Extension used for saving each SegmentInfo, once a 3.x index is first committed to with 4.0.static int
UPGRADED_SI_VERSION_CURRENT
Deprecated.static int
UPGRADED_SI_VERSION_START
Deprecated.
-
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 boolean
getDocStoreIsCompoundFile(SegmentInfo si)
Deprecated.static int
getDocStoreOffset(SegmentInfo si)
Deprecated.static String
getDocStoreSegment(SegmentInfo si)
Deprecated.SegmentInfoReader
getSegmentInfoReader()
Deprecated.Returns theSegmentInfoReader
for readingSegmentInfo
instances.SegmentInfoWriter
getSegmentInfoWriter()
Deprecated.Returns theSegmentInfoWriter
for writingSegmentInfo
instances.
-
-
-
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 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 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 String DS_OFFSET_KEY
Deprecated.
-
DS_NAME_KEY
public static final String DS_NAME_KEY
Deprecated.
-
DS_COMPOUND_KEY
public static final String DS_COMPOUND_KEY
Deprecated.
-
NORMGEN_KEY
public static final String NORMGEN_KEY
Deprecated.
-
NORMGEN_PREFIX
public static final String NORMGEN_PREFIX
Deprecated.
-
-
Method Detail
-
getSegmentInfoReader
public SegmentInfoReader getSegmentInfoReader()
Deprecated.Description copied from class:SegmentInfoFormat
Returns theSegmentInfoReader
for readingSegmentInfo
instances.- Specified by:
getSegmentInfoReader
in classSegmentInfoFormat
-
getSegmentInfoWriter
public SegmentInfoWriter getSegmentInfoWriter()
Deprecated.Description copied from class:SegmentInfoFormat
Returns theSegmentInfoWriter
for writingSegmentInfo
instances.- Specified by:
getSegmentInfoWriter
in 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 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)
-
-