Fork me on GitHub
  • API

    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
    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 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
    System.Collections.Generic.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
    System.Collections.Generic.ICollection<System.Byte[]>

    Collection of byte[] payloads

    Overrides
    Spans.GetPayload()
    Exceptions
    Type Condition
    System.IO.IOException

    if there is a low-level I/O error

    | Improve this Doc View Source

    MoveNext()

    Declaration
    public override bool MoveNext()
    Returns
    Type Description
    System.Boolean
    Overrides
    Spans.MoveNext()
    | 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()
    • 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.