Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class FunctionAllGroupHeadsCollector.GroupHead

    Holds current head document for a single group.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    Inheritance
    object
    AbstractAllGroupHeadsCollector_GroupHead
    FunctionAllGroupHeadsCollector.GroupHead
    Inherited Members
    AbstractAllGroupHeadsCollector_GroupHead.Doc
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Search.Grouping.Function
    Assembly: Lucene.Net.Grouping.dll
    Syntax
    public class FunctionAllGroupHeadsCollector.GroupHead : AbstractAllGroupHeadsCollector_GroupHead

    Properties

    GroupValue

    Holds current head document for a single group.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    Declaration
    public MutableValue GroupValue { get; }
    Property Value
    Type Description
    MutableValue

    Methods

    Compare(int, int)

    Compares the specified document for a specified comparer against the current most relevant document.

    Declaration
    public override int Compare(int compIDX, int doc)
    Parameters
    Type Name Description
    int compIDX

    The comparer index of the specified comparer.

    int doc

    The specified document.

    Returns
    Type Description
    int

    -1 if the specified document wasn't competitive against the current most relevant document, 1 if the specified document was competitive against the current most relevant document. Otherwise 0.

    Overrides
    AbstractAllGroupHeadsCollector_GroupHead.Compare(int, int)
    Exceptions
    Type Condition
    IOException

    If I/O related errors occur

    UpdateDocHead(int)

    Updates the current most relevant document with the specified document.

    Declaration
    public override void UpdateDocHead(int doc)
    Parameters
    Type Name Description
    int doc

    The specified document

    Overrides
    AbstractAllGroupHeadsCollector_GroupHead.UpdateDocHead(int)
    Exceptions
    Type Condition
    IOException

    If I/O related errors occur

    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.