Search 6 groundwork - Remove uses of lambdas where they don't bring much

Description

Because of the metaspace impact (1 lambda = 4kb...).

Environment

None
Fixed

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Fix versions

Priority

Major
Configure