Show / Hide Table of Contents

    Class Lucene3xSegmentInfoFormat

    Lucene3x ReadOnly SegmentInfoFormat implementation.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    SegmentInfoFormat
    Lucene3xSegmentInfoFormat
    Namespace: Lucene.Net.Codecs.Lucene3x
    Assembly: Lucene.Net.dll
    Syntax
    public class Lucene3xSegmentInfoFormat : SegmentInfoFormat

    Fields

    | Improve this Doc View Source

    DS_COMPOUND_KEY

    Declaration
    public static readonly string DS_COMPOUND_KEY
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    DS_NAME_KEY

    Declaration
    public static readonly string DS_NAME_KEY
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    DS_OFFSET_KEY

    Declaration
    public static readonly string DS_OFFSET_KEY
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    FORMAT_3_1

    Each segment records the Lucene version that created it.

    Declaration
    public static readonly int FORMAT_3_1
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    FORMAT_DIAGNOSTICS

    This format adds optional per-segment String diagnostics storage, and switches userData to Map.

    Declaration
    public static readonly int FORMAT_DIAGNOSTICS
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    FORMAT_HAS_VECTORS

    Each segment records whether it has term vectors.

    Declaration
    public static readonly int FORMAT_HAS_VECTORS
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    NORMGEN_KEY

    Declaration
    public static readonly string NORMGEN_KEY
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    NORMGEN_PREFIX

    Declaration
    public static readonly string NORMGEN_PREFIX
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    UPGRADED_SI_CODEC_NAME

    Declaration
    public static readonly string UPGRADED_SI_CODEC_NAME
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    UPGRADED_SI_EXTENSION

    Extension used for saving each SegmentInfo, once a 3.x index is first committed to with 4.0.

    Declaration
    public static readonly string UPGRADED_SI_EXTENSION
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    UPGRADED_SI_VERSION_CURRENT

    Declaration
    public static readonly int UPGRADED_SI_VERSION_CURRENT
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    UPGRADED_SI_VERSION_START

    Declaration
    public static readonly int UPGRADED_SI_VERSION_START
    Field Value
    Type Description
    System.Int32

    Properties

    | Improve this Doc View Source

    SegmentInfoReader

    Declaration
    public override SegmentInfoReader SegmentInfoReader { get; }
    Property Value
    Type Description
    SegmentInfoReader
    Overrides
    SegmentInfoFormat.SegmentInfoReader
    | Improve this Doc View Source

    SegmentInfoWriter

    Declaration
    public override SegmentInfoWriter SegmentInfoWriter { get; }
    Property Value
    Type Description
    SegmentInfoWriter
    Overrides
    SegmentInfoFormat.SegmentInfoWriter

    Methods

    | Improve this Doc View Source

    GetDocStoreIsCompoundFile(SegmentInfo)

    Declaration
    public static bool GetDocStoreIsCompoundFile(SegmentInfo si)
    Parameters
    Type Name Description
    SegmentInfo si
    Returns
    Type Description
    System.Boolean

    Whether doc store files are stored in compound file (*.cfx).

    | Improve this Doc View Source

    GetDocStoreOffset(SegmentInfo)

    Declaration
    public static int GetDocStoreOffset(SegmentInfo si)
    Parameters
    Type Name Description
    SegmentInfo si
    Returns
    Type Description
    System.Int32

    If this segment shares stored fields & vectors, this offset is where in that file this segment's docs begin.

    | Improve this Doc View Source

    GetDocStoreSegment(SegmentInfo)

    Declaration
    public static string GetDocStoreSegment(SegmentInfo si)
    Parameters
    Type Name Description
    SegmentInfo si
    Returns
    Type Description
    System.String

    Name used to derive fields/vectors file we share with other segments.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)