public abstract class SimpleTerm extends SrndQuery implements DistanceSubQuery, Comparable<SimpleTerm>
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | SimpleTerm.MatchingTermVisitorCallback to visit each matching term during "rewrite"
 in  SimpleTerm.MatchingTermVisitor.visitMatchingTerm(Term) | 
theEmptyLcnQuery| Constructor and Description | 
|---|
| SimpleTerm(boolean q) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addSpanQueries(SpanNearClauseFactory sncf) | 
| int | compareTo(SimpleTerm ost)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. | 
| String | distanceSubQueryNotAllowed()When distanceSubQueryNotAllowed() returns non null, the reason why the subquery
 is not allowed as a distance subquery is returned. | 
| String | getFieldOperator() | 
| String | getQuote() | 
| Query | makeLuceneQueryFieldNoBoost(String fieldName,
                           BasicQueryFactory qf) | 
| protected void | suffixToString(StringBuilder r) | 
| String | toString()This method is used by  SrndQuery.hashCode()andSrndQuery.equals(Object),
  see LUCENE-2945. | 
| abstract String | toStringUnquoted() | 
| abstract void | visitMatchingTerms(IndexReader reader,
                  String fieldName,
                  SimpleTerm.MatchingTermVisitor mtv) | 
clone, equals, getWeight, getWeightOperator, getWeightString, hashCode, isFieldsSubQueryAcceptable, isWeighted, makeLuceneQueryField, setWeight, weightToStringpublic String getQuote()
public String getFieldOperator()
public abstract String toStringUnquoted()
@Deprecated public int compareTo(SimpleTerm ost)
compareTo in interface Comparable<SimpleTerm>protected void suffixToString(StringBuilder r)
public String toString()
SrndQuerySrndQuery.hashCode() and SrndQuery.equals(Object),
  see LUCENE-2945.public abstract void visitMatchingTerms(IndexReader reader, String fieldName, SimpleTerm.MatchingTermVisitor mtv) throws IOException
IOExceptionpublic String distanceSubQueryNotAllowed()
DistanceSubQuerydistanceSubQueryNotAllowed in interface DistanceSubQuerypublic void addSpanQueries(SpanNearClauseFactory sncf) throws IOException
addSpanQueries in interface DistanceSubQueryIOExceptionpublic Query makeLuceneQueryFieldNoBoost(String fieldName, BasicQueryFactory qf)
makeLuceneQueryFieldNoBoost in class SrndQueryCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.