Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class SpanPositionRangeQuery

    Checks to see if the Match lies between a start and end position

    Inheritance
    System.Object
    Query
    SpanQuery
    SpanPositionCheckQuery
    SpanPositionRangeQuery
    SpanFirstQuery
    Inherited Members
    SpanPositionCheckQuery.m_match
    SpanPositionCheckQuery.Match
    SpanPositionCheckQuery.Field
    SpanPositionCheckQuery.ExtractTerms(ISet<Term>)
    SpanPositionCheckQuery.GetSpans(AtomicReaderContext, IBits, IDictionary<Term, TermContext>)
    SpanPositionCheckQuery.Rewrite(IndexReader)
    SpanQuery.CreateWeight(IndexSearcher)
    Query.Boost
    Query.ToString()
    System.Object.Equals(System.Object, System.Object)
    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 SpanPositionRangeQuery : SpanPositionCheckQuery

    Constructors

    | Improve this Doc View Source

    SpanPositionRangeQuery(SpanQuery, Int32, Int32)

    Declaration
    public SpanPositionRangeQuery(SpanQuery match, int start, int end)
    Parameters
    Type Name Description
    SpanQuery match
    System.Int32 start
    System.Int32 end

    Fields

    | Improve this Doc View Source

    m_end

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

    m_start

    Declaration
    protected int m_start
    Field Value
    Type Description
    System.Int32

    Properties

    | Improve this Doc View Source

    End

    Declaration
    public virtual int End { get; }
    Property Value
    Type Description
    System.Int32

    The maximum end position permitted in a match.

    | Improve this Doc View Source

    Start

    Declaration
    public virtual int Start { get; }
    Property Value
    Type Description
    System.Int32

    The minimum position permitted in a match

    Methods

    | Improve this Doc View Source

    AcceptPosition(Spans)

    Declaration
    protected override SpanPositionCheckQuery.AcceptStatus AcceptPosition(Spans spans)
    Parameters
    Type Name Description
    Spans spans
    Returns
    Type Description
    SpanPositionCheckQuery.AcceptStatus
    Overrides
    SpanPositionCheckQuery.AcceptPosition(Spans)
    | Improve this Doc View Source

    Clone()

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object
    Overrides
    Query.Clone()
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object o)
    Parameters
    Type Name Description
    System.Object o
    Returns
    Type Description
    System.Boolean
    Overrides
    Query.Equals(Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    Query.GetHashCode()
    | Improve this Doc View Source

    ToString(String)

    Declaration
    public override string ToString(string field)
    Parameters
    Type Name Description
    System.String field
    Returns
    Type Description
    System.String
    Overrides
    Query.ToString(String)

    See Also

    SpanFirstQuery
    • 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.