Package | Description |
---|---|
org.apache.lucene.benchmark.byTask.feeds |
Sources for benchmark inputs: documents and queries.
|
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.xmlparser |
Parser that produces Lucene Query objects from XML streams.
|
org.apache.lucene.xmlparser.builders |
Builders to support various Lucene queries.
|
Modifier and Type | Field | Description |
---|---|---|
protected QueryParser |
LongToEnglishQueryMaker.parser |
Modifier and Type | Class | Description |
---|---|---|
class |
MultiFieldQueryParser |
A QueryParser which constructs queries to search multiple fields.
|
static class |
QueryParserTestBase.QPTestParser |
Test QueryParser that does not allow fuzzy or wildcard queries.
|
Modifier and Type | Method | Description |
---|---|---|
abstract QueryParser |
QueryParserTestBase.getParser(Analyzer a) |
Modifier and Type | Method | Description |
---|---|---|
void |
QueryParserTestBase.assertDateRangeQueryEquals(QueryParser qp,
String field,
String startDate,
String endDate,
Date endDateInclusive,
DateTools.Resolution resolution) |
|
void |
QueryParserTestBase.assertQueryEquals(QueryParser qp,
String field,
String query,
String result) |
Modifier and Type | Class | Description |
---|---|---|
class |
AnalyzingQueryParser |
Overrides Lucene's default QueryParser so that Fuzzy-, Prefix-, Range-, and WildcardQuerys
are also passed through the given analyzer, but wild card characters (like
* )
don't get removed from the search terms. |
Modifier and Type | Class | Description |
---|---|---|
class |
ComplexPhraseQueryParser |
QueryParser which permits complex phrase query syntax eg "(john jon
jonathan~) peters*".
|
Modifier and Type | Class | Description |
---|---|---|
class |
ExtendableQueryParser |
The
ExtendableQueryParser enables arbitrary query parser extension
based on a customizable field naming scheme. |
Modifier and Type | Method | Description |
---|---|---|
QueryParser |
ExtensionQuery.getTopLevelParser() |
Returns the top level parser which created this
ExtensionQuery |
Constructor | Description |
---|---|
ExtensionQuery(QueryParser topLevelParser,
String field,
String rawQueryString) |
Creates a new
ExtensionQuery |
Modifier and Type | Field | Description |
---|---|---|
protected QueryParser |
CoreParser.parser |
Constructor | Description |
---|---|
CoreParser(String defaultField,
Analyzer analyzer,
QueryParser parser) |
|
CoreParser(Analyzer analyzer,
QueryParser parser) |
Construct an XML parser that uses a single instance QueryParser for handling
UserQuery tags - all parse operations are synchronised on this parser
|
CorePlusExtensionsParser(Analyzer analyzer,
QueryParser parser) |
Construct an XML parser that uses a single instance QueryParser for handling
UserQuery tags - all parse operations are synchronized on this parser
|
Modifier and Type | Method | Description |
---|---|---|
protected QueryParser |
UserInputQueryBuilder.createQueryParser(String fieldName,
Analyzer analyzer) |
Method to create a QueryParser - designed to be overridden
|
Constructor | Description |
---|---|
UserInputQueryBuilder(QueryParser parser) |
This constructor has the disadvantage of not being able to change choice of default field name
|
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.