Uses of Class
org.apache.lucene.search.BooleanClause
-
Packages that use BooleanClause Package Description org.apache.lucene.queryparser.classic A simple query parser implemented with JavaCC.org.apache.lucene.search Code to search indices. -
-
Uses of BooleanClause in org.apache.lucene.queryparser.classic
Methods in org.apache.lucene.queryparser.classic that return BooleanClause Modifier and Type Method Description protected BooleanClause
QueryParserBase. newBooleanClause(Query q, BooleanClause.Occur occur)
Builds a new BooleanClause instanceMethod parameters in org.apache.lucene.queryparser.classic with type arguments of type BooleanClause Modifier and Type Method 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 -
Uses of BooleanClause in org.apache.lucene.search
Fields in org.apache.lucene.search declared as BooleanClause Modifier and Type Field Description (package private) BooleanClause
BooleanWeight.WeightedBooleanClause. clause
Fields in org.apache.lucene.search with type parameters of type BooleanClause Modifier and Type Field Description private java.util.List<BooleanClause>
BooleanQuery.Builder. clauses
private java.util.List<BooleanClause>
BooleanQuery. clauses
private java.util.List<BooleanClause>
IndriQuery. clauses
Methods in org.apache.lucene.search that return types with arguments of type BooleanClause Modifier and Type Method Description java.util.List<BooleanClause>
BooleanQuery. clauses()
Return a list of the clauses of thisBooleanQuery
.java.util.List<BooleanClause>
IndriQuery. getClauses()
java.util.Iterator<BooleanClause>
BooleanQuery. iterator()
Returns an iterator on the clauses in this query.java.util.Iterator<BooleanClause>
IndriQuery. iterator()
Methods in org.apache.lucene.search with parameters of type BooleanClause Modifier and Type Method Description BooleanQuery.Builder
BooleanQuery.Builder. add(BooleanClause clause)
Add a new clause to thisBooleanQuery.Builder
.Constructors in org.apache.lucene.search with parameters of type BooleanClause Constructor Description BooleanQuery(int minimumNumberShouldMatch, BooleanClause[] clauses)
WeightedBooleanClause(BooleanClause clause, Weight weight)
Constructor parameters in org.apache.lucene.search with type arguments of type BooleanClause Constructor Description IndriAndQuery(java.util.List<BooleanClause> clauses)
IndriQuery(java.util.List<BooleanClause> clauses)
-