Improved support of lambdas in boolean predicates

Description

First, it would be nice to be able to define a boolean predicate right at the root, when calling .where:

 

Second, it would help with consistency of future syntax (e.g. HSEARCH-4499) if the definition of a boolean predicate with a lambda was written f.bool().with( <lambda > ) instead of f.bool( <lambda > ). And it would also be nice syntactic sugar, because one would be able to chain lambdas: f.bool().with( b -> complexPredicate1( b, searchParams ) ).with( b -> complexPredicate2( b, searchParams ) )

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Sprint

Fix versions

Priority

Created March 28, 2022 at 3:52 PM
Updated July 4, 2022 at 7:01 AM
Resolved March 30, 2022 at 7:48 AM