Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Interface IAbstractAllGroupsCollector<TGroupValue>

    LUCENENET specific interface used to apply covariance to TGroupValue

    Inherited Members
    Lucene.Net.Search.ICollector.SetScorer(Lucene.Net.Search.Scorer)
    ICollector.Collect(Int32)
    Lucene.Net.Search.ICollector.SetNextReader(Lucene.Net.Index.AtomicReaderContext)
    Lucene.Net.Search.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 Lucene.Net.Util.BytesRef representing a group value.

    Declaration
    IEnumerable<TGroupValue> Groups { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<TGroupValue>

    the group values

    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 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.