Class SpanTermQuery
Matches spans containing a term.
Inheritance
System.Object
SpanTermQuery
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Lucene.Net.dll
Syntax
public class SpanTermQuery : SpanQuery
Constructors
|
Improve this Doc
View Source
SpanTermQuery(Term)
Declaration
public SpanTermQuery(Term term)
Parameters
Type |
Name |
Description |
Term |
term |
|
Fields
|
Improve this Doc
View Source
m_term
Declaration
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
Term
Return the term whose spans are matched.
Declaration
public virtual Term Term { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
Declaration
public override void ExtractTerms(ISet<Term> terms)
Parameters
Type |
Name |
Description |
System.Collections.Generic.ISet<Term> |
terms |
|
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
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
ToString(String)
Declaration
public override string ToString(string field)
Parameters
Type |
Name |
Description |
System.String |
field |
|
Returns
Type |
Description |
System.String |
|
Overrides