Class SrndPrefixQuery
java.lang.Object
org.apache.lucene.queryparser.surround.query.SrndQuery
org.apache.lucene.queryparser.surround.query.SimpleTerm
org.apache.lucene.queryparser.surround.query.SrndPrefixQuery
- All Implemented Interfaces:
Cloneable,DistanceSubQuery
Query that matches String prefixes
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.queryparser.surround.query.SimpleTerm
SimpleTerm.MatchingTermVisitor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharprotected voidvoidvisitMatchingTerms(IndexReader reader, String fieldName, SimpleTerm.MatchingTermVisitor mtv) Methods inherited from class org.apache.lucene.queryparser.surround.query.SimpleTerm
addSpanQueries, distanceSubQueryNotAllowed, getFieldOperator, getQuote, makeLuceneQueryFieldNoBoost, toStringMethods inherited from class org.apache.lucene.queryparser.surround.query.SrndQuery
clone, equals, getWeight, getWeightOperator, getWeightString, hashCode, isFieldsSubQueryAcceptable, isWeighted, makeLuceneQueryField, setWeight, weightToString
-
Constructor Details
-
SrndPrefixQuery
-
-
Method Details
-
getPrefix
-
getSuffixOperator
public char getSuffixOperator() -
toStringUnquoted
- Specified by:
toStringUnquotedin classSimpleTerm
-
suffixToString
- Overrides:
suffixToStringin classSimpleTerm
-
visitMatchingTerms
public void visitMatchingTerms(IndexReader reader, String fieldName, SimpleTerm.MatchingTermVisitor mtv) throws IOException - Specified by:
visitMatchingTermsin classSimpleTerm- Throws:
IOException
-