Show / Hide Table of Contents

    Class ToParentBlockJoinFieldComparer.Lowest

    Concrete implementation of ToParentBlockJoinSortField to sorts the parent docs with the lowest values in the child / nested docs first.

    Inheritance
    System.Object
    ToParentBlockJoinFieldComparer
    ToParentBlockJoinFieldComparer.Lowest
    Inherited Members
    ToParentBlockJoinFieldComparer.Compare(Int32, Int32)
    ToParentBlockJoinFieldComparer.SetBottom(Int32)
    ToParentBlockJoinFieldComparer.SetTopValue(Object)
    ToParentBlockJoinFieldComparer.SetNextReader(AtomicReaderContext)
    ToParentBlockJoinFieldComparer.Item[Int32]
    Namespace: Lucene.Net.Join
    Assembly: Lucene.Net.Join.dll
    Syntax
    public sealed class Lowest : ToParentBlockJoinFieldComparer

    Constructors

    | Improve this Doc View Source

    Lowest(FieldComparer, Filter, Filter, Int32)

    Create ToParentBlockJoinFieldComparer.Lowest

    Declaration
    public Lowest(FieldComparer wrappedComparer, Filter parentFilter, Filter childFilter, int spareSlot)
    Parameters
    Type Name Description
    FieldComparer wrappedComparer

    The on the child / nested level.

    Filter parentFilter

    (must produce per-segment) that identifies the parent documents.

    Filter childFilter

    that defines which child / nested documents participates in sorting.

    System.Int32 spareSlot

    The extra slot inside the wrapped comparer that is used to compare which nested document inside the parent document scope is most competitive.

    Methods

    | Improve this Doc View Source

    CompareBottom(Int32)

    Declaration
    public override int CompareBottom(int parentDoc)
    Parameters
    Type Name Description
    System.Int32 parentDoc
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    CompareTop(Int32)

    Declaration
    public override int CompareTop(int parentDoc)
    Parameters
    Type Name Description
    System.Int32 parentDoc
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Copy(Int32, Int32)

    Declaration
    public override void Copy(int slot, int parentDoc)
    Parameters
    Type Name Description
    System.Int32 slot
    System.Int32 parentDoc
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)