protected class LuceneIndex.MyQueryParser extends FullWildcardEnabledMultiFieldQueryParser
| Modifier and Type | Method and Description |
|---|---|
protected Query |
_getFieldQuery(String field,
String queryText) |
protected Query |
_getFuzzyQuery(String field,
String termStr,
float minSimilarity) |
protected Query |
_getPrefixQuery(String field,
String termStr) |
protected Query |
_getRangeQuery(String field,
String part1,
String part2,
boolean inclusive,
boolean inclusive2) |
protected Query |
_getWildcardQuery(String field,
String termStr) |
protected String |
checkField(String fieldName) |
Query |
getFieldQuery(String arg0,
String arg1,
boolean arg2) |
getFieldQuery, getFuzzyQuery, getPrefixQuery, getRangeQuery, getWildcardQuerypublic Query getFieldQuery(String arg0, String arg1, boolean arg2) throws org.apache.lucene.queryparser.classic.ParseException
protected String checkField(String fieldName) throws ParseException
ParseExceptionprotected Query _getFieldQuery(String field, String queryText) throws org.apache.lucene.queryparser.classic.ParseException
_getFieldQuery in class FullWildcardEnabledMultiFieldQueryParserorg.apache.lucene.queryparser.classic.ParseExceptionprotected Query _getFuzzyQuery(String field, String termStr, float minSimilarity) throws org.apache.lucene.queryparser.classic.ParseException
_getFuzzyQuery in class FullWildcardEnabledMultiFieldQueryParserorg.apache.lucene.queryparser.classic.ParseExceptionprotected Query _getPrefixQuery(String field, String termStr) throws org.apache.lucene.queryparser.classic.ParseException
_getPrefixQuery in class FullWildcardEnabledMultiFieldQueryParserorg.apache.lucene.queryparser.classic.ParseExceptionprotected Query _getRangeQuery(String field, String part1, String part2, boolean inclusive, boolean inclusive2) throws org.apache.lucene.queryparser.classic.ParseException
_getRangeQuery in class FullWildcardEnabledMultiFieldQueryParserorg.apache.lucene.queryparser.classic.ParseExceptionprotected Query _getWildcardQuery(String field, String termStr) throws org.apache.lucene.queryparser.classic.ParseException
_getWildcardQuery in class FullWildcardEnabledMultiFieldQueryParserorg.apache.lucene.queryparser.classic.ParseExceptionCopyright © 2017 SAP SE. All Rights Reserved.