Package | Description |
---|---|
org.apache.lucene.queryparser.classic |
A simple query parser implemented with JavaCC.
|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Method and Description |
---|---|
protected BooleanClause |
QueryParserBase.newBooleanClause(Query q,
BooleanClause.Occur occur)
Builds a new BooleanClause instance
|
Modifier and Type | Method and Description |
---|---|
protected void |
QueryParserBase.addClause(List<BooleanClause> clauses,
int conj,
int mods,
Query q) |
protected Query |
QueryParserBase.getBooleanQuery(List<BooleanClause> clauses)
Factory method for generating query, given a set of clauses.
|
protected Query |
QueryParserBase.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()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<BooleanClause> |
BooleanQuery.clauses()
Return a list of the clauses of this
BooleanQuery . |
Iterator<BooleanClause> |
BooleanQuery.iterator()
Returns an iterator on the clauses in this query.
|
Modifier and Type | Method and Description |
---|---|
void |
BooleanQuery.add(BooleanClause clause)
Deprecated.
Boolean queries should be created once with
BooleanQuery.Builder
and then considered immutable. See BooleanQuery.Builder.add(org.apache.lucene.search.BooleanClause) . |
BooleanQuery.Builder |
BooleanQuery.Builder.add(BooleanClause clause)
Add a clause to the
BooleanQuery . |
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.