Show / Hide Table of Contents

    Interface IAbstractAllGroupsCollector<TGroupValue>

    LUCENENET specific interface used to apply covariance to TGroupValue

    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 IAbstractAllGroupsCollector<out TGroupValue> : ICollector
    Type Parameters
    Name Description
    TGroupValue

    Properties

    | Improve this Doc View Source

    GroupCount

    Returns the total number of groups for the executed search. This is a convenience method. The following code snippet has the same effect:

    GetGroups().Count

    Declaration
    int GroupCount { get; }
    Property Value
    Type Description
    System.Int32

    The total number of groups for the executed search

    | Improve this Doc View Source

    Groups

    Returns the group values

    This is an unordered collections of group values. For each group that matched the query there is a BytesRef representing a group value.

    Declaration
    IEnumerable<TGroupValue> Groups { get; }
    Property Value
    Type Description
    IEnumerable<TGroupValue>

    the group values

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