Class SrndTermQuery
Simple single-term clause
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.QueryParsers.Surround.Query
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class SrndTermQuery : SimpleTerm, IDistanceSubQuery, IComparable<SimpleTerm>
Constructors
| Improve this Doc View SourceSrndTermQuery(String, Boolean)
Declaration
public SrndTermQuery(string termText, bool quoted)
Parameters
Type | Name | Description |
---|---|---|
System.String | termText | |
System.Boolean | quoted |
Properties
| Improve this Doc View SourceTermText
Declaration
public virtual string TermText { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceGetLuceneTerm(String)
Declaration
public virtual Term GetLuceneTerm(string fieldName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName |
Returns
Type | Description |
---|---|
Lucene.Net.Index.Term |
ToStringUnquoted()
Declaration
public override string ToStringUnquoted()
Returns
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceVisitMatchingTerms(IndexReader, String, SimpleTerm.IMatchingTermVisitor)
Declaration
public override void VisitMatchingTerms(IndexReader reader, string fieldName, SimpleTerm.IMatchingTermVisitor mtv)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Index.IndexReader | reader | |
System.String | fieldName | |
SimpleTerm.IMatchingTermVisitor | mtv |
Overrides
Implements
System.IComparable<T>