Class SpanPositionCheckQuery
Base class for filtering a SpanQuery based on the position of a match.
Inheritance
System.Object
SpanPositionCheckQuery
Assembly: Lucene.Net.dll
Syntax
public abstract class SpanPositionCheckQuery : SpanQuery
Constructors
|
Improve this Doc
View Source
SpanPositionCheckQuery(SpanQuery)
Declaration
public SpanPositionCheckQuery(SpanQuery match)
Parameters
Fields
|
Improve this Doc
View Source
m_match
Declaration
protected SpanQuery m_match
Field Value
Properties
|
Improve this Doc
View Source
Field
Declaration
public override string Field { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
|
Improve this Doc
View Source
Match
Declaration
public virtual SpanQuery Match { get; }
Property Value
Methods
|
Improve this Doc
View Source
AcceptPosition(Spans)
Implementing classes are required to return whether the current position is a match for the passed in
"match" SpanQuery.
This is only called if the underlying Next() for the
match is successful
Declaration
protected abstract SpanPositionCheckQuery.AcceptStatus AcceptPosition(Spans spans)
Parameters
Type |
Name |
Description |
Spans |
spans |
The Spans instance, positioned at the spot to check
|
Returns
See Also
|
Improve this Doc
View Source
Declaration
public override void ExtractTerms(ISet<Term> terms)
Parameters
Type |
Name |
Description |
ISet<Term> |
terms |
|
Overrides
|
Improve this Doc
View Source
GetSpans(AtomicReaderContext, IBits, IDictionary<Term, TermContext>)
Declaration
public override Spans GetSpans(AtomicReaderContext context, IBits acceptDocs, IDictionary<Term, TermContext> termContexts)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
Rewrite(IndexReader)
Declaration
public override Query Rewrite(IndexReader reader)
Parameters
Returns
Overrides