Package | Description |
---|---|
org.apache.lucene.queryParser |
A simple query parser implemented with JavaCC.
|
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 |
---|---|
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.
|