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(java.util.List<BooleanClause> clauses,
int conj,
int mods,
Query q) |
protected void |
QueryParserBase.addMultiTermClauses(java.util.List<BooleanClause> clauses,
Query q)
Adds clauses generated from analysis over text containing whitespace.
|
protected Query |
QueryParserBase.getBooleanQuery(java.util.List<BooleanClause> clauses)
Factory method for generating query, given a set of clauses.
|
Query |
QueryParser.MultiTerm(java.lang.String field,
java.util.List<BooleanClause> clauses)
Returns the first query if splitOnWhitespace=true or otherwise the entire produced query
|
Modifier and Type | Method and Description |
---|---|
java.util.List<BooleanClause> |
BooleanQuery.clauses()
Return a list of the clauses of this
BooleanQuery . |
java.util.Iterator<BooleanClause> |
BooleanQuery.iterator()
Returns an iterator on the clauses in this query.
|
Modifier and Type | Method and Description |
---|---|
BooleanQuery.Builder |
BooleanQuery.Builder.add(BooleanClause clause)
Add a new clause to this
BooleanQuery.Builder . |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.