Show / Hide Table of Contents

    Class TermSpans

    Expert: Public for extension only

    Inheritance
    System.Object
    Spans
    TermSpans
    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)
    Namespace: Lucene.Net.Search.Spans
    Assembly: Lucene.Net.dll
    Syntax
    public class TermSpans : Spans

    Constructors

    | Improve this Doc View Source

    TermSpans(DocsAndPositionsEnum, Term)

    Declaration
    public TermSpans(DocsAndPositionsEnum postings, Term term)
    Parameters
    Type Name Description
    DocsAndPositionsEnum postings
    Term term

    Fields

    | Improve this Doc View Source

    EMPTY_TERM_SPANS

    Declaration
    public static readonly TermSpans EMPTY_TERM_SPANS
    Field Value
    Type Description
    TermSpans
    | Improve this Doc View Source

    m_count

    Declaration
    protected int m_count
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    m_doc

    Declaration
    protected int m_doc
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    m_freq

    Declaration
    protected int m_freq
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    m_position

    Declaration
    protected int m_position
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    m_postings

    Declaration
    protected readonly DocsAndPositionsEnum m_postings
    Field Value
    Type Description
    DocsAndPositionsEnum
    | Improve this Doc View Source

    m_readPayload

    Declaration
    protected bool m_readPayload
    Field Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    m_term

    Declaration
    protected readonly Term m_term
    Field Value
    Type Description
    Term

    Properties

    | Improve this Doc View Source

    Doc

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

    End

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

    IsPayloadAvailable

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

    Postings

    Declaration
    public virtual DocsAndPositionsEnum Postings { get; }
    Property Value
    Type Description
    DocsAndPositionsEnum
    | Improve this Doc View Source

    Start

    Declaration
    public override int Start { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    Spans.Start

    Methods

    | Improve this Doc View Source

    GetCost()

    Declaration
    public override long GetCost()
    Returns
    Type Description
    System.Int64
    Overrides
    Spans.GetCost()
    | Improve this Doc View Source

    GetPayload()

    Declaration
    public override ICollection<byte[]> GetPayload()
    Returns
    Type Description
    System.Collections.Generic.ICollection<System.Byte[]>
    Overrides
    Spans.GetPayload()
    | Improve this Doc View Source

    Next()

    Declaration
    public override bool Next()
    Returns
    Type Description
    System.Boolean
    Overrides
    Spans.Next()
    | Improve this Doc View Source

    SkipTo(Int32)

    Declaration
    public override bool SkipTo(int target)
    Parameters
    Type Name Description
    System.Int32 target
    Returns
    Type Description
    System.Boolean
    Overrides
    Spans.SkipTo(Int32)
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Extension Methods

    Number.IsNumber(Object)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)