• API

    Show / Hide Table of Contents

    Class FunctionDistinctValuesCollector

    Function based implementation of AbstractDistinctValuesCollector.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    AbstractDistinctValuesCollector<FunctionDistinctValuesCollector.GroupCount>
    FunctionDistinctValuesCollector
    Implements
    IAbstractDistinctValuesCollector<FunctionDistinctValuesCollector.GroupCount>
    Lucene.Net.Search.ICollector
    Inherited Members
    AbstractDistinctValuesCollector<FunctionDistinctValuesCollector.GroupCount>.AcceptsDocsOutOfOrder
    AbstractDistinctValuesCollector<FunctionDistinctValuesCollector.GroupCount>.SetScorer(Scorer)
    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.Function
    Assembly: Lucene.Net.Grouping.dll
    Syntax
    public class FunctionDistinctValuesCollector : AbstractDistinctValuesCollector<FunctionDistinctValuesCollector.GroupCount>, IAbstractDistinctValuesCollector<FunctionDistinctValuesCollector.GroupCount>, ICollector

    Constructors

    | Improve this Doc View Source

    FunctionDistinctValuesCollector(IDictionary, ValueSource, ValueSource, IEnumerable<ISearchGroup<MutableValue>>)

    Declaration
    public FunctionDistinctValuesCollector(IDictionary vsContext, ValueSource groupSource, ValueSource countSource, IEnumerable<ISearchGroup<MutableValue>> groups)
    Parameters
    Type Name Description
    System.Collections.IDictionary vsContext
    Lucene.Net.Queries.Function.ValueSource groupSource
    Lucene.Net.Queries.Function.ValueSource countSource
    System.Collections.Generic.IEnumerable<ISearchGroup<Lucene.Net.Util.Mutable.MutableValue>> groups

    Properties

    | Improve this Doc View Source

    Groups

    Declaration
    public override IEnumerable<FunctionDistinctValuesCollector.GroupCount> Groups { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<FunctionDistinctValuesCollector.GroupCount>
    Overrides
    Lucene.Net.Search.Grouping.AbstractDistinctValuesCollector<Lucene.Net.Search.Grouping.Function.FunctionDistinctValuesCollector.GroupCount>.Groups

    Methods

    | Improve this Doc View Source

    Collect(Int32)

    Declaration
    public override void Collect(int doc)
    Parameters
    Type Name Description
    System.Int32 doc
    Overrides
    Lucene.Net.Search.Grouping.AbstractDistinctValuesCollector<Lucene.Net.Search.Grouping.Function.FunctionDistinctValuesCollector.GroupCount>.Collect(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.AbstractDistinctValuesCollector<Lucene.Net.Search.Grouping.Function.FunctionDistinctValuesCollector.GroupCount>.SetNextReader(Lucene.Net.Index.AtomicReaderContext)

    Implements

    IAbstractDistinctValuesCollector<GC>
    Lucene.Net.Search.ICollector
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)