Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class MultiTerms

    Exposes flex API, merged from flex API of sub-segments.

    Note

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

    Inheritance
    System.Object
    Terms
    MultiTerms
    Inherited Members
    Terms.GetEnumerator(TermsEnum)
    Terms.EMPTY_ARRAY
    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.Index
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class MultiTerms : Terms

    Constructors

    | Improve this Doc View Source

    MultiTerms(Terms[], ReaderSlice[])

    Sole constructor.

    Declaration
    public MultiTerms(Terms[] subs, ReaderSlice[] subSlices)
    Parameters
    Type Name Description
    Terms[] subs

    The Terms instances of all sub-readers.

    ReaderSlice[] subSlices

    A parallel array (matching subs) describing the sub-reader slices.

    Properties

    | Improve this Doc View Source

    Comparer

    Declaration
    public override IComparer<BytesRef> Comparer { get; }
    Property Value
    Type Description
    System.Collections.Generic.IComparer<BytesRef>
    Overrides
    Terms.Comparer
    | Improve this Doc View Source

    Count

    Declaration
    public override long Count { get; }
    Property Value
    Type Description
    System.Int64
    Overrides
    Terms.Count
    | Improve this Doc View Source

    DocCount

    Declaration
    public override int DocCount { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    Terms.DocCount
    | Improve this Doc View Source

    HasFreqs

    Declaration
    public override bool HasFreqs { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    Terms.HasFreqs
    | Improve this Doc View Source

    HasOffsets

    Declaration
    public override bool HasOffsets { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    Terms.HasOffsets
    | Improve this Doc View Source

    HasPayloads

    Declaration
    public override bool HasPayloads { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    Terms.HasPayloads
    | Improve this Doc View Source

    HasPositions

    Declaration
    public override bool HasPositions { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    Terms.HasPositions
    | Improve this Doc View Source

    SumDocFreq

    Declaration
    public override long SumDocFreq { get; }
    Property Value
    Type Description
    System.Int64
    Overrides
    Terms.SumDocFreq
    | Improve this Doc View Source

    SumTotalTermFreq

    Declaration
    public override long SumTotalTermFreq { get; }
    Property Value
    Type Description
    System.Int64
    Overrides
    Terms.SumTotalTermFreq

    Methods

    | Improve this Doc View Source

    GetEnumerator()

    Declaration
    public override TermsEnum GetEnumerator()
    Returns
    Type Description
    TermsEnum
    Overrides
    Terms.GetEnumerator()
    | Improve this Doc View Source

    Intersect(CompiledAutomaton, BytesRef)

    Declaration
    public override TermsEnum Intersect(CompiledAutomaton compiled, BytesRef startTerm)
    Parameters
    Type Name Description
    CompiledAutomaton compiled
    BytesRef startTerm
    Returns
    Type Description
    TermsEnum
    Overrides
    Terms.Intersect(CompiledAutomaton, BytesRef)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 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.