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
|
Modifier and Type | Method and Description |
---|---|
Query |
QualityQueryParser.parse(QualityQuery qq)
Parse a given QualityQuery into a Lucene query.
|
Modifier and Type | Method and Description |
---|---|
Query |
SimpleQQParser.parse(QualityQuery qq) |
Modifier and Type | Method and Description |
---|---|
ParseException |
QueryParser.generateParseException()
Generate ParseException.
|
Modifier and Type | Method and 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 |
QueryParser.getFieldQuery(String field,
String queryText)
Deprecated.
Use
QueryParser.getFieldQuery(String,String,boolean) instead. |
protected Query |
MultiFieldQueryParser.getFieldQuery(String field,
String queryText,
boolean quoted) |
protected Query |
QueryParser.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,
int slop)
Base implementation delegates to
QueryParser.getFieldQuery(String,String,boolean) . |
protected Query |
QueryParserTestBase.QPTestParser.getFuzzyQuery(String field,
String termStr,
float minSimilarity) |
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 to
QueryParser.getWildcardQuery(java.lang.String, java.lang.String) ). |
protected Query |
MultiFieldQueryParser.getPrefixQuery(String field,
String termStr) |
protected Query |
QueryParser.getPrefixQuery(String field,
String termStr)
Factory method for generating a query (similar to
QueryParser.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 |
QueryParserTestBase.QPTestParser.getWildcardQuery(String field,
String termStr) |
protected Query |
MultiFieldQueryParser.getWildcardQuery(String field,
String termStr) |
protected Query |
QueryParser.getWildcardQuery(String field,
String termStr)
Factory method for generating a query.
|
int |
QueryParser.Modifiers() |
Query |
QueryParser.parse(String query)
Parses a query string, returning a
Query . |
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.Query(String field) |
Query |
QueryParser.Term(String field) |
void |
QueryParserTestBase.testLocalDateFormat() |
Query |
QueryParser.TopLevelQuery(String field) |
Modifier and Type | Method and 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). |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
protected Query |
ExtendableQueryParser.getFieldQuery(String field,
String queryText,
boolean quoted) |
abstract Query |
ParserExtension.parse(ExtensionQuery query)
Processes the given
ExtensionQuery and returns a corresponding
Query instance. |
Modifier and Type | Method and Description |
---|---|
ParseException |
QueryParserWrapper.generateParseException()
Deprecated.
|
Modifier and Type | Method and 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 to
QueryParserWrapper.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.
|
Query |
QueryParserWrapper.parse(String query)
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.
|