Show / Hide Table of Contents

    Interface IAbstractFirstPassGroupingCollector<TGroupValue>

    LUCENENET specific interface used to apply covariance to TGroupValue to simulate Java's wildcard generics.

    Inherited Members
    ICollector.SetScorer(Scorer)
    ICollector.Collect(Int32)
    ICollector.SetNextReader(AtomicReaderContext)
    ICollector.AcceptsDocsOutOfOrder
    Namespace: Lucene.Net.Search.Grouping
    Assembly: Lucene.Net.Grouping.dll
    Syntax
    public interface IAbstractFirstPassGroupingCollector<out TGroupValue> : ICollector
    Type Parameters
    Name Description
    TGroupValue

    Methods

    | Improve this Doc View Source

    GetTopGroups(Int32, Boolean)

    Returns top groups, starting from offset. This may return null, if no groups were collected, or if the number of unique groups collected is <= offset.

    Declaration
    IEnumerable<ISearchGroup<TGroupValue>> GetTopGroups(int groupOffset, bool fillFields)
    Parameters
    Type Name Description
    System.Int32 groupOffset

    The offset in the collected groups

    System.Boolean fillFields

    Whether to fill to SortValues

    Returns
    Type Description
    IEnumerable<ISearchGroup<TGroupValue>>

    top groups, starting from offset

    Remarks

    LUCENENET NOTE: We must use rather than here because we need this to be covariant

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