Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class TermSecondPassGroupingCollector

    Concrete implementation of AbstractSecondPassGroupingCollector<TGroupValue> that groups based on field values and more specifically uses Lucene.Net.Index.SortedDocValues to collect grouped docs.

    Note

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

    Inheritance
    System.Object
    AbstractSecondPassGroupingCollector<Lucene.Net.Util.BytesRef>
    TermSecondPassGroupingCollector
    Implements
    IAbstractSecondPassGroupingCollector<Lucene.Net.Util.BytesRef>
    Lucene.Net.Search.ICollector
    Inherited Members
    AbstractSecondPassGroupingCollector<BytesRef>.m_groupMap
    AbstractSecondPassGroupingCollector<BytesRef>.m_groupDocs
    AbstractSecondPassGroupingCollector<BytesRef>.SetScorer(Scorer)
    AbstractSecondPassGroupingCollector<BytesRef>.Collect(Int32)
    AbstractSecondPassGroupingCollector<BytesRef>.AcceptsDocsOutOfOrder
    AbstractSecondPassGroupingCollector<BytesRef>.GetTopGroups(Int32)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Search.Grouping.Terms
    Assembly: Lucene.Net.Grouping.dll
    Syntax
    public class TermSecondPassGroupingCollector : AbstractSecondPassGroupingCollector<BytesRef>, IAbstractSecondPassGroupingCollector<BytesRef>, ICollector

    Constructors

    | Improve this Doc View Source

    TermSecondPassGroupingCollector(String, IEnumerable<ISearchGroup<BytesRef>>, Sort, Sort, Int32, Boolean, Boolean, Boolean)

    Declaration
    public TermSecondPassGroupingCollector(string groupField, IEnumerable<ISearchGroup<BytesRef>> groups, Sort groupSort, Sort withinGroupSort, int maxDocsPerGroup, bool getScores, bool getMaxScores, bool fillSortFields)
    Parameters
    Type Name Description
    System.String groupField
    System.Collections.Generic.IEnumerable<ISearchGroup<Lucene.Net.Util.BytesRef>> groups
    Lucene.Net.Search.Sort groupSort
    Lucene.Net.Search.Sort withinGroupSort
    System.Int32 maxDocsPerGroup
    System.Boolean getScores
    System.Boolean getMaxScores
    System.Boolean fillSortFields

    Methods

    | Improve this Doc View Source

    RetrieveGroup(Int32)

    Declaration
    protected override AbstractSecondPassGroupingCollector.SearchGroupDocs<BytesRef> RetrieveGroup(int doc)
    Parameters
    Type Name Description
    System.Int32 doc
    Returns
    Type Description
    AbstractSecondPassGroupingCollector.SearchGroupDocs<Lucene.Net.Util.BytesRef>
    Overrides
    Lucene.Net.Search.Grouping.AbstractSecondPassGroupingCollector<Lucene.Net.Util.BytesRef>.RetrieveGroup(System.Int32)
    | Improve this Doc View Source

    SetNextReader(AtomicReaderContext)

    Declaration
    public override void SetNextReader(AtomicReaderContext context)
    Parameters
    Type Name Description
    Lucene.Net.Index.AtomicReaderContext context
    Overrides
    Lucene.Net.Search.Grouping.AbstractSecondPassGroupingCollector<Lucene.Net.Util.BytesRef>.SetNextReader(Lucene.Net.Index.AtomicReaderContext)

    Implements

    IAbstractSecondPassGroupingCollector<TGroupValue>
    Lucene.Net.Search.ICollector
    • 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.