Show / Hide Table of Contents

    Class NearSpansUnordered

    Similar to NearSpansOrdered, but for the unordered case.

    Expert: Only public for subclassing. Most implementations should not need this class

    Inheritance
    System.Object
    Spans
    NearSpansUnordered
    Namespace: Lucene.Net.Search.Spans
    Assembly: Lucene.Net.dll
    Syntax
    public class NearSpansUnordered : Spans

    Constructors

    | Improve this Doc View Source

    NearSpansUnordered(SpanNearQuery, AtomicReaderContext, IBits, IDictionary<Term, TermContext>)

    Declaration
    public NearSpansUnordered(SpanNearQuery query, AtomicReaderContext context, IBits acceptDocs, IDictionary<Term, TermContext> termContexts)
    Parameters
    Type Name Description
    SpanNearQuery query
    AtomicReaderContext context
    IBits acceptDocs
    IDictionary<Term, TermContext> termContexts

    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

    Start

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

    SubSpans

    Declaration
    public virtual Spans[] SubSpans { get; }
    Property Value
    Type Description
    Spans[]

    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()

    WARNING: The List is not necessarily in order of the the positions

    Declaration
    public override ICollection<byte[]> GetPayload()
    Returns
    Type Description
    ICollection<System.Byte[]>

    Collection of byte[] payloads

    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
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)