|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.queryParser.surround.query.SrndQuery org.apache.lucene.queryParser.surround.query.SimpleTerm org.apache.lucene.queryParser.surround.query.SrndPrefixQuery
public class SrndPrefixQuery
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.lucene.queryParser.surround.query.SimpleTerm |
---|
SimpleTerm.MatchingTermVisitor |
Field Summary |
---|
Fields inherited from class org.apache.lucene.queryParser.surround.query.SrndQuery |
---|
theEmptyLcnQuery |
Constructor Summary | |
---|---|
SrndPrefixQuery(String prefix,
boolean quoted,
char truncator)
|
Method Summary | |
---|---|
Term |
getLucenePrefixTerm(String fieldName)
|
String |
getPrefix()
|
char |
getSuffixOperator()
|
protected void |
suffixToString(StringBuilder r)
|
String |
toStringUnquoted()
|
void |
visitMatchingTerms(IndexReader reader,
String fieldName,
SimpleTerm.MatchingTermVisitor mtv)
|
Methods inherited from class org.apache.lucene.queryParser.surround.query.SimpleTerm |
---|
addSpanQueries, compareTo, distanceSubQueryNotAllowed, getFieldOperator, getQuote, makeLuceneQueryFieldNoBoost, toString |
Methods inherited from class org.apache.lucene.queryParser.surround.query.SrndQuery |
---|
clone, getWeight, getWeightOperator, getWeightString, isFieldsSubQueryAcceptable, isWeighted, makeLuceneQueryField, setWeight, weightToString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SrndPrefixQuery(String prefix, boolean quoted, char truncator)
Method Detail |
---|
public String getPrefix()
public char getSuffixOperator()
public Term getLucenePrefixTerm(String fieldName)
public String toStringUnquoted()
toStringUnquoted
in class SimpleTerm
protected void suffixToString(StringBuilder r)
suffixToString
in class SimpleTerm
public void visitMatchingTerms(IndexReader reader, String fieldName, SimpleTerm.MatchingTermVisitor mtv) throws IOException
visitMatchingTerms
in class SimpleTerm
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |