Class SrndTruncQuery
java.lang.Object
org.apache.lucene.queryparser.surround.query.SrndQuery
org.apache.lucene.queryparser.surround.query.SimpleTerm
org.apache.lucene.queryparser.surround.query.SrndTruncQuery
- All Implemented Interfaces:
Cloneable
,DistanceSubQuery
Query that matches wildcards
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.queryparser.surround.query.SimpleTerm
SimpleTerm.MatchingTermVisitor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
appendRegExpForChar
(char c, StringBuilder re) protected boolean
matchingChar
(char c) protected void
void
visitMatchingTerms
(IndexReader reader, String fieldName, SimpleTerm.MatchingTermVisitor mtv) Methods inherited from class org.apache.lucene.queryparser.surround.query.SimpleTerm
addSpanQueries, distanceSubQueryNotAllowed, getFieldOperator, getQuote, makeLuceneQueryFieldNoBoost, suffixToString, toString
Methods inherited from class org.apache.lucene.queryparser.surround.query.SrndQuery
clone, equals, getWeight, getWeightOperator, getWeightString, hashCode, isFieldsSubQueryAcceptable, isWeighted, makeLuceneQueryField, setWeight, weightToString
-
Constructor Details
-
SrndTruncQuery
-
-
Method Details
-
getTruncated
-
toStringUnquoted
- Specified by:
toStringUnquoted
in classSimpleTerm
-
matchingChar
protected boolean matchingChar(char c) -
appendRegExpForChar
-
truncatedToPrefixAndPattern
protected void truncatedToPrefixAndPattern() -
visitMatchingTerms
public void visitMatchingTerms(IndexReader reader, String fieldName, SimpleTerm.MatchingTermVisitor mtv) throws IOException - Specified by:
visitMatchingTerms
in classSimpleTerm
- Throws:
IOException
-