Uses of Class
org.apache.lucene.queryParser.ParseException
-
Packages that use ParseException Package Description org.apache.lucene.benchmark.quality Search Quality Benchmarking.org.apache.lucene.benchmark.quality.utils Miscellaneous utilities for search quality benchmarking: query parsing, submission reports.org.apache.lucene.queryParser A simple query parser implemented with JavaCC.org.apache.lucene.queryParser.analyzing QueryParser that passes Fuzzy-, Prefix-, Range-, and WildcardQuerys through the given analyzer.org.apache.lucene.queryParser.complexPhrase QueryParser which permits complex phrase query syntax eg "(john jon jonathan~) peters*"org.apache.lucene.queryParser.ext Extendable QueryParser provides a simple and flexible extension mechanism by overloading query field names.org.apache.lucene.queryParser.standard Contains the implementation of the Lucene query parser using the flexible query parser frameworks -
-
Uses of ParseException in org.apache.lucene.benchmark.quality
Methods in org.apache.lucene.benchmark.quality that throw ParseException Modifier and Type Method Description Query
QualityQueryParser. parse(QualityQuery qq)
Parse a given QualityQuery into a Lucene query. -
Uses of ParseException in org.apache.lucene.benchmark.quality.utils
Methods in org.apache.lucene.benchmark.quality.utils that throw ParseException Modifier and Type Method Description Query
SimpleQQParser. parse(QualityQuery qq)
-
Uses of ParseException in org.apache.lucene.queryParser
Methods in org.apache.lucene.queryParser that return ParseException Modifier and Type Method Description ParseException
QueryParser. generateParseException()
Generate ParseException.Methods in org.apache.lucene.queryParser that throw ParseException Modifier and Type Method Description Query
QueryParser. Clause(String field)
int
QueryParser. Conjunction()
protected Query
QueryParser. getBooleanQuery(List<BooleanClause> clauses)
Factory method for generating query, given a set of clauses.protected Query
QueryParser. getBooleanQuery(List<BooleanClause> clauses, boolean disableCoord)
Factory method for generating query, given a set of clauses.protected Query
MultiFieldQueryParser. getFieldQuery(String field, String queryText, boolean quoted)
protected Query
MultiFieldQueryParser. getFieldQuery(String field, String queryText, int slop)
protected Query
QueryParser. getFieldQuery(String field, String queryText)
Deprecated.UseQueryParser.getFieldQuery(String,String,boolean)
instead.protected Query
QueryParser. getFieldQuery(String field, String queryText, boolean quoted)
protected Query
QueryParser. getFieldQuery(String field, String queryText, int slop)
Base implementation delegates toQueryParser.getFieldQuery(String,String,boolean)
.protected Query
MultiFieldQueryParser. getFuzzyQuery(String field, String termStr, float minSimilarity)
protected Query
QueryParser. getFuzzyQuery(String field, String termStr, float minSimilarity)
Factory method for generating a query (similar toQueryParser.getWildcardQuery(java.lang.String, java.lang.String)
).protected Query
QueryParserTestBase.QPTestParser. getFuzzyQuery(String field, String termStr, float minSimilarity)
protected Query
MultiFieldQueryParser. getPrefixQuery(String field, String termStr)
protected Query
QueryParser. getPrefixQuery(String field, String termStr)
Factory method for generating a query (similar toQueryParser.getWildcardQuery(java.lang.String, java.lang.String)
).protected Query
MultiFieldQueryParser. getRangeQuery(String field, String part1, String part2, boolean inclusive)
protected Query
QueryParser. getRangeQuery(String field, String part1, String part2, boolean inclusive)
protected Query
MultiFieldQueryParser. getWildcardQuery(String field, String termStr)
protected Query
QueryParser. getWildcardQuery(String field, String termStr)
Factory method for generating a query.protected Query
QueryParserTestBase.QPTestParser. getWildcardQuery(String field, String termStr)
int
QueryParser. Modifiers()
static Query
MultiFieldQueryParser. parse(Version matchVersion, String[] queries, String[] fields, Analyzer analyzer)
Parses a query which searches on the fields specified.static Query
MultiFieldQueryParser. parse(Version matchVersion, String[] queries, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)
Parses a query, searching on the fields specified.static Query
MultiFieldQueryParser. parse(Version matchVersion, String query, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)
Parses a query, searching on the fields specified.Query
QueryParser. parse(String query)
Parses a query string, returning aQuery
.Query
QueryParser. Query(String field)
Query
QueryParser. Term(String field)
void
QueryParserTestBase. testLocalDateFormat()
Query
QueryParser. TopLevelQuery(String field)
-
Uses of ParseException in org.apache.lucene.queryParser.analyzing
Methods in org.apache.lucene.queryParser.analyzing that throw ParseException Modifier and Type Method Description protected Query
AnalyzingQueryParser. getFuzzyQuery(String field, String termStr, float minSimilarity)
Called when parser parses an input term token that has the fuzzy suffix (~) appended.protected Query
AnalyzingQueryParser. getPrefixQuery(String field, String termStr)
Called when parser parses an input term token that uses prefix notation; that is, contains a single '*' wildcard character as its last character.protected Query
AnalyzingQueryParser. getRangeQuery(String field, String part1, String part2, boolean inclusive)
Overrides super class, by passing terms through analyzer.protected Query
AnalyzingQueryParser. getWildcardQuery(String field, String termStr)
Called when parser parses an input term token that contains one or more wildcard characters (like*
), but is not a prefix term token (one that has just a single * character at the end). -
Uses of ParseException in org.apache.lucene.queryParser.complexPhrase
Methods in org.apache.lucene.queryParser.complexPhrase that throw ParseException Modifier and Type Method Description protected Query
ComplexPhraseQueryParser. getFuzzyQuery(String field, String termStr, float minSimilarity)
protected Query
ComplexPhraseQueryParser. getRangeQuery(String field, String part1, String part2, boolean inclusive)
protected Query
ComplexPhraseQueryParser. getWildcardQuery(String field, String termStr)
Query
ComplexPhraseQueryParser. parse(String query)
-
Uses of ParseException in org.apache.lucene.queryParser.ext
Methods in org.apache.lucene.queryParser.ext that throw ParseException Modifier and Type Method Description protected Query
ExtendableQueryParser. getFieldQuery(String field, String queryText, boolean quoted)
abstract Query
ParserExtension. parse(ExtensionQuery query)
Processes the givenExtensionQuery
and returns a correspondingQuery
instance. -
Uses of ParseException in org.apache.lucene.queryParser.standard
Methods in org.apache.lucene.queryParser.standard that return ParseException Modifier and Type Method Description ParseException
QueryParserWrapper. generateParseException()
Deprecated.Methods in org.apache.lucene.queryParser.standard that throw ParseException Modifier and Type Method Description protected Query
QueryParserWrapper. getBooleanQuery(List<BooleanClause> clauses, boolean disableCoord)
Deprecated.protected Query
QueryParserWrapper. getFieldQuery(String field, String queryText)
Deprecated.protected Query
QueryParserWrapper. getFieldQuery(String field, String queryText, boolean quoted)
Deprecated.protected Query
QueryParserWrapper. getFieldQuery(String field, String queryText, int slop)
Deprecated.Base implementation delegates toQueryParserWrapper.getFieldQuery(String,String)
.protected Query
QueryParserWrapper. getFuzzyQuery(String field, String termStr, float minSimilarity)
Deprecated.protected Query
QueryParserWrapper. getPrefixQuery(String field, String termStr)
Deprecated.protected Query
QueryParserWrapper. getRangeQuery(String field, String part1, String part2, boolean inclusive)
Deprecated.protected Query
QueryParserWrapper. getWildcardQuery(String field, String termStr)
Deprecated.static Query
MultiFieldQueryParserWrapper. parse(String[] queries, String[] fields, Analyzer analyzer)
Deprecated.Parses a query which searches on the fields specified.static Query
MultiFieldQueryParserWrapper. parse(String[] queries, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)
Deprecated.Parses a query, searching on the fields specified.static Query
MultiFieldQueryParserWrapper. parse(String query, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)
Deprecated.Parses a query, searching on the fields specified.Query
QueryParserWrapper. parse(String query)
Deprecated.
-