Class SrndTermQuery
Simple single-term clause
Inherited Members
Namespace: Lucene.Net.QueryParsers.Surround.Query
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class SrndTermQuery : SimpleTerm, IDistanceSubQuery, IComparable<SimpleTerm>
Constructors
SrndTermQuery(string, bool)
Simple single-term clause
Declaration
public SrndTermQuery(string termText, bool quoted)
Parameters
| Type | Name | Description |
|---|---|---|
| string | termText | |
| bool | quoted |
Properties
TermText
Simple single-term clause
Declaration
public virtual string TermText { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetLuceneTerm(string)
Simple single-term clause
Declaration
public virtual Term GetLuceneTerm(string fieldName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fieldName |
Returns
| Type | Description |
|---|---|
| Term |
ToStringUnquoted()
Simple single-term clause
Declaration
public override string ToStringUnquoted()
Returns
| Type | Description |
|---|---|
| string |
Overrides
VisitMatchingTerms(IndexReader, string, IMatchingTermVisitor)
Simple single-term clause
Declaration
public override void VisitMatchingTerms(IndexReader reader, string fieldName, SimpleTerm.IMatchingTermVisitor mtv)
Parameters
| Type | Name | Description |
|---|---|---|
| IndexReader | reader | |
| string | fieldName | |
| SimpleTerm.IMatchingTermVisitor | mtv |