Builder

class Builder

A builder for boolean queries.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Add a collection of BooleanClauses to this Builder. Note that the order in which clauses are added does not have any impact on matching documents or query performance.

Add a new clause to this Builder. Note that the order in which clauses are added does not have any impact on matching documents or query performance.

Link copied to clipboard

Create a new BooleanQuery based on the parameters that have been set on this builder.

Link copied to clipboard

Specifies a minimum number of the optional BooleanClauses which must be satisfied.