Package | Description |
---|---|
org.apache.lucene.queryParser |
A simple query parser implemented with JavaCC.
|
org.apache.lucene.queryParser.standard |
Contains the implementation of the Lucene query parser using the flexible query parser frameworks
Lucene Flexible Query Parser Implementation
The old Lucene query parser used to have only one class that performed
all the parsing operations.
|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Method and Description |
---|---|
protected BooleanClause |
QueryParser.newBooleanClause(Query q,
BooleanClause.Occur occur)
Builds a new BooleanClause instance
|
Modifier and Type | Method and Description |
---|---|
protected void |
QueryParser.addClause(List<BooleanClause> clauses,
int conj,
int mods,
Query q) |
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.
|
Modifier and Type | Method and Description |
---|---|
protected Query |
QueryParserWrapper.getBooleanQuery(List<BooleanClause> clauses,
boolean disableCoord)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
BooleanClause[] |
BooleanQuery.getClauses()
Returns the set of clauses in this query.
|
Modifier and Type | Method and Description |
---|---|
List<BooleanClause> |
BooleanQuery.clauses()
Returns the list of clauses in this query.
|
Iterator<BooleanClause> |
BooleanQuery.iterator()
Returns an iterator on the clauses in this query.
|
Modifier and Type | Method and Description |
---|---|
void |
BooleanQuery.add(BooleanClause clause)
Adds a clause to a boolean query.
|