Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class FacetsCollector.MatchingDocs

    Holds the documents that were matched in the Lucene.Net.Index.AtomicReaderContext. If scores were required, then Scores is not null.

    Inheritance
    object
    FacetsCollector.MatchingDocs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Facet
    Assembly: Lucene.Net.Facet.dll
    Syntax
    public sealed class FacetsCollector.MatchingDocs

    Constructors

    MatchingDocs(AtomicReaderContext, DocIdSet, int, float[])

    Sole constructor.

    Declaration
    public MatchingDocs(AtomicReaderContext context, DocIdSet bits, int totalHits, float[] scores)
    Parameters
    Type Name Description
    AtomicReaderContext context
    DocIdSet bits
    int totalHits
    float[] scores

    Properties

    Bits

    Which documents were seen.

    Declaration
    public DocIdSet Bits { get; }
    Property Value
    Type Description
    DocIdSet

    Context

    Context for this segment.

    Declaration
    public AtomicReaderContext Context { get; }
    Property Value
    Type Description
    AtomicReaderContext

    Scores

    Non-sparse scores array.

    Declaration
    public float[] Scores { get; }
    Property Value
    Type Description
    float[]

    TotalHits

    Total number of hits

    Declaration
    public int TotalHits { get; }
    Property Value
    Type Description
    int
    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.