Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Interface IAbstractAllGroupsCollector<TGroupValue>

    LUCENENET specific interface used to apply covariance to TGroupValue

    Inherited Members
    ICollector.SetScorer(Scorer)
    ICollector.Collect(int)
    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

    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
    int

    The total number of groups for the executed search

    Groups

    Returns the group values

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

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

    the group values

    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.