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 QueryQualityQueryParser. 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 QuerySimpleQQParser. 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 ParseExceptionQueryParser. generateParseException()Generate ParseException.Methods in org.apache.lucene.queryParser that throw ParseException Modifier and Type Method Description QueryQueryParser. Clause(String field)intQueryParser. Conjunction()protected QueryQueryParser. getBooleanQuery(List<BooleanClause> clauses)Factory method for generating query, given a set of clauses.protected QueryQueryParser. getBooleanQuery(List<BooleanClause> clauses, boolean disableCoord)Factory method for generating query, given a set of clauses.protected QueryMultiFieldQueryParser. getFieldQuery(String field, String queryText, boolean quoted)protected QueryMultiFieldQueryParser. getFieldQuery(String field, String queryText, int slop)protected QueryQueryParser. getFieldQuery(String field, String queryText)Deprecated.UseQueryParser.getFieldQuery(String,String,boolean)instead.protected QueryQueryParser. getFieldQuery(String field, String queryText, boolean quoted)protected QueryQueryParser. getFieldQuery(String field, String queryText, int slop)Base implementation delegates toQueryParser.getFieldQuery(String,String,boolean).protected QueryMultiFieldQueryParser. getFuzzyQuery(String field, String termStr, float minSimilarity)protected QueryQueryParser. getFuzzyQuery(String field, String termStr, float minSimilarity)Factory method for generating a query (similar toQueryParser.getWildcardQuery(java.lang.String, java.lang.String)).protected QueryQueryParserTestBase.QPTestParser. getFuzzyQuery(String field, String termStr, float minSimilarity)protected QueryMultiFieldQueryParser. getPrefixQuery(String field, String termStr)protected QueryQueryParser. getPrefixQuery(String field, String termStr)Factory method for generating a query (similar toQueryParser.getWildcardQuery(java.lang.String, java.lang.String)).protected QueryMultiFieldQueryParser. getRangeQuery(String field, String part1, String part2, boolean inclusive)protected QueryQueryParser. getRangeQuery(String field, String part1, String part2, boolean inclusive)protected QueryMultiFieldQueryParser. getWildcardQuery(String field, String termStr)protected QueryQueryParser. getWildcardQuery(String field, String termStr)Factory method for generating a query.protected QueryQueryParserTestBase.QPTestParser. getWildcardQuery(String field, String termStr)intQueryParser. Modifiers()static QueryMultiFieldQueryParser. parse(Version matchVersion, String[] queries, String[] fields, Analyzer analyzer)Parses a query which searches on the fields specified.static QueryMultiFieldQueryParser. parse(Version matchVersion, String[] queries, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)Parses a query, searching on the fields specified.static QueryMultiFieldQueryParser. parse(Version matchVersion, String query, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)Parses a query, searching on the fields specified.QueryQueryParser. parse(String query)Parses a query string, returning aQuery.QueryQueryParser. Query(String field)QueryQueryParser. Term(String field)voidQueryParserTestBase. testLocalDateFormat()QueryQueryParser. 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 QueryAnalyzingQueryParser. getFuzzyQuery(String field, String termStr, float minSimilarity)Called when parser parses an input term token that has the fuzzy suffix (~) appended.protected QueryAnalyzingQueryParser. 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 QueryAnalyzingQueryParser. getRangeQuery(String field, String part1, String part2, boolean inclusive)Overrides super class, by passing terms through analyzer.protected QueryAnalyzingQueryParser. 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 QueryComplexPhraseQueryParser. getFuzzyQuery(String field, String termStr, float minSimilarity)protected QueryComplexPhraseQueryParser. getRangeQuery(String field, String part1, String part2, boolean inclusive)protected QueryComplexPhraseQueryParser. getWildcardQuery(String field, String termStr)QueryComplexPhraseQueryParser. 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 QueryExtendableQueryParser. getFieldQuery(String field, String queryText, boolean quoted)abstract QueryParserExtension. parse(ExtensionQuery query)Processes the givenExtensionQueryand returns a correspondingQueryinstance. -
Uses of ParseException in org.apache.lucene.queryParser.standard
Methods in org.apache.lucene.queryParser.standard that return ParseException Modifier and Type Method Description ParseExceptionQueryParserWrapper. generateParseException()Deprecated.Methods in org.apache.lucene.queryParser.standard that throw ParseException Modifier and Type Method Description protected QueryQueryParserWrapper. getBooleanQuery(List<BooleanClause> clauses, boolean disableCoord)Deprecated.protected QueryQueryParserWrapper. getFieldQuery(String field, String queryText)Deprecated.protected QueryQueryParserWrapper. getFieldQuery(String field, String queryText, boolean quoted)Deprecated.protected QueryQueryParserWrapper. getFieldQuery(String field, String queryText, int slop)Deprecated.Base implementation delegates toQueryParserWrapper.getFieldQuery(String,String).protected QueryQueryParserWrapper. getFuzzyQuery(String field, String termStr, float minSimilarity)Deprecated.protected QueryQueryParserWrapper. getPrefixQuery(String field, String termStr)Deprecated.protected QueryQueryParserWrapper. getRangeQuery(String field, String part1, String part2, boolean inclusive)Deprecated.protected QueryQueryParserWrapper. getWildcardQuery(String field, String termStr)Deprecated.static QueryMultiFieldQueryParserWrapper. parse(String[] queries, String[] fields, Analyzer analyzer)Deprecated.Parses a query which searches on the fields specified.static QueryMultiFieldQueryParserWrapper. parse(String[] queries, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)Deprecated.Parses a query, searching on the fields specified.static QueryMultiFieldQueryParserWrapper. parse(String query, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)Deprecated.Parses a query, searching on the fields specified.QueryQueryParserWrapper. parse(String query)Deprecated.
-