Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Interface ITopGroups<TGroupValue>

    LUCENENET specific interface used to provide covariance with the TGroupValue type to simulate Java's wildcard generics.

    Namespace: Lucene.Net.Search.Grouping
    Assembly: Lucene.Net.Grouping.dll
    Syntax
    public interface ITopGroups<out TGroupValue>
    Type Parameters
    Name Description
    TGroupValue

    Properties

    GroupSort

    How groups are sorted against each other

    Declaration
    SortField[] GroupSort { get; }
    Property Value
    Type Description
    SortField[]

    Groups

    Group results in groupSort order

    Declaration
    IGroupDocs<out TGroupValue>[] Groups { get; }
    Property Value
    Type Description
    IGroupDocs<TGroupValue>[]

    MaxScore

    Highest score across all hits, or NaN if scores were not computed.

    Declaration
    float MaxScore { get; }
    Property Value
    Type Description
    float

    TotalGroupCount

    The total number of unique groups. If null this value is not computed.

    Declaration
    int? TotalGroupCount { get; }
    Property Value
    Type Description
    int?

    TotalGroupedHitCount

    Number of documents grouped into the topN groups

    Declaration
    int TotalGroupedHitCount { get; }
    Property Value
    Type Description
    int

    TotalHitCount

    Number of documents matching the search

    Declaration
    int TotalHitCount { get; }
    Property Value
    Type Description
    int

    WithinGroupSort

    How docs are sorted within each group

    Declaration
    SortField[] WithinGroupSort { get; }
    Property Value
    Type Description
    SortField[]
    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.