Class SimpleTerm
  
  Base class for queries that expand to sets of simple terms.
 
  
  
    Inheritance
    System.Object
    
    SimpleTerm
      
      
      
   
  
  
    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.QueryParser.dll
  Syntax
  
    public abstract class SimpleTerm : SrndQuery, IDistanceSubQuery, IComparable<SimpleTerm>
   
  Constructors
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SimpleTerm(Boolean)
  
  
  Declaration
  
    public SimpleTerm(bool q)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Boolean | 
        q | 
         | 
      
    
  
  Properties
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  FieldOperator
  
  
  Declaration
  
    public virtual string FieldOperator { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Quote
  
  
  Declaration
  
    public virtual string Quote { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  AddSpanQueries(SpanNearClauseFactory)
  
  
  Declaration
  
    public virtual void AddSpanQueries(SpanNearClauseFactory sncf)
   
  Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  CompareTo(SimpleTerm)
  
  
  Declaration
  
    [Obsolete("deprecated (March 2011) Not normally used, to be removed from Lucene 4.0. This class implementing Comparable is to be removed at the same time.")]
public int CompareTo(SimpleTerm ost)
   
  Parameters
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32 | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  DistanceSubQueryNotAllowed()
  
  
  Declaration
  
    public virtual string DistanceSubQueryNotAllowed()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  MakeLuceneQueryFieldNoBoost(String, BasicQueryFactory)
  
  
  Declaration
  
    public override Query MakeLuceneQueryFieldNoBoost(string fieldName, BasicQueryFactory qf)
   
  Parameters
  
  Returns
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SuffixToString(StringBuilder)
  
  
  Declaration
  
    protected virtual void SuffixToString(StringBuilder r)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Text.StringBuilder | 
        r | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ToString()
  
  
  Declaration
  
    public override string ToString()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ToStringUnquoted()
  
  
  Declaration
  
    public abstract string ToStringUnquoted()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  VisitMatchingTerms(IndexReader, String, SimpleTerm.IMatchingTermVisitor)
  
  
  Declaration
  
    public abstract void VisitMatchingTerms(IndexReader reader, string fieldName, SimpleTerm.IMatchingTermVisitor mtv)
   
  Parameters
  
  Implements
  
  
      System.IComparable<T>