Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class MergeState

    Holds common state used during segment merging.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    Inheritance
    object
    MergeState
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Index
    Assembly: Lucene.Net.dll
    Syntax
    public class MergeState

    Properties

    CheckAbort

    Holds the CheckAbort instance, which is invoked periodically to see if the merge has been aborted.

    Declaration
    public CheckAbort CheckAbort { get; }
    Property Value
    Type Description
    CheckAbort

    DocBase

    New docID base per reader.

    Declaration
    public int[] DocBase { get; set; }
    Property Value
    Type Description
    int[]

    DocMaps

    Maps docIDs around deletions.

    Declaration
    public MergeState.DocMap[] DocMaps { get; set; }
    Property Value
    Type Description
    DocMap[]

    FieldInfos

    FieldInfos of the newly merged segment.

    Declaration
    public FieldInfos FieldInfos { get; set; }
    Property Value
    Type Description
    FieldInfos

    InfoStream

    InfoStream for debugging messages.

    Declaration
    public InfoStream InfoStream { get; }
    Property Value
    Type Description
    InfoStream

    MatchedCount

    How many MatchingSegmentReaders are set.

    Declaration
    public int MatchedCount { get; set; }
    Property Value
    Type Description
    int

    MatchingSegmentReaders

    SegmentReaders that have identical field name/number mapping, so their stored fields and term vectors may be bulk merged.

    Declaration
    public SegmentReader[] MatchingSegmentReaders { get; set; }
    Property Value
    Type Description
    SegmentReader[]

    Readers

    Readers being merged.

    Declaration
    public IList<AtomicReader> Readers { get; }
    Property Value
    Type Description
    IList<AtomicReader>

    SegmentInfo

    SegmentInfo of the newly merged segment.

    Declaration
    public SegmentInfo SegmentInfo { get; }
    Property Value
    Type Description
    SegmentInfo
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.