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
    System.Object
    FacetsCollector.MatchingDocs
    Inherited Members
    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.Facet
    Assembly: Lucene.Net.Facet.dll
    Syntax
    public sealed class MatchingDocs

    Constructors

    | Improve this Doc View Source

    MatchingDocs(AtomicReaderContext, DocIdSet, Int32, Single[])

    Sole constructor.

    Declaration
    public MatchingDocs(AtomicReaderContext context, DocIdSet bits, int totalHits, float[] scores)
    Parameters
    Type Name Description
    Lucene.Net.Index.AtomicReaderContext context
    Lucene.Net.Search.DocIdSet bits
    System.Int32 totalHits
    System.Single[] scores

    Properties

    | Improve this Doc View Source

    Bits

    Which documents were seen.

    Declaration
    public DocIdSet Bits { get; }
    Property Value
    Type Description
    Lucene.Net.Search.DocIdSet
    | Improve this Doc View Source

    Context

    Context for this segment.

    Declaration
    public AtomicReaderContext Context { get; }
    Property Value
    Type Description
    Lucene.Net.Index.AtomicReaderContext
    | Improve this Doc View Source

    Scores

    Non-sparse scores array.

    Declaration
    public float[] Scores { get; }
    Property Value
    Type Description
    System.Single[]
    | Improve this Doc View Source

    TotalHits

    Total number of hits

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