Add an hasClause() accessor in BooleanPredicateOptionsCollector/SimpleBooleanPredicateClausesCollector

Description

In Hibernate Search 5, it used to be possible to check whether a BooleanJunction had clauses with isEmpty(). This could be useful from time to time, e.g.

isEmpty() is a bit problematic with the new DSL, as it’s not immediately clear whether the method is about clauses or about any BooleanPredicate option; but we could introduce a hasClause method to serve a similar purpose.

Activity

Show:
Done

Assignee

Reporter

Components

Sprint

Fix versions

Priority

Created June 27, 2022 at 7:05 AM
Updated July 3, 2023 at 11:28 AM
Resolved December 21, 2022 at 1:05 PM
Loading...