Expect a function as parameter for SearchQueryContext#sort

Description

For consistency with org.hibernate.search.engine.search.dsl.query.SearchQueryResultContext#predicate(java.util.function.Function<? super PDC,org.hibernate.search.engine.search.dsl.predicate.SearchPredicateTerminalContext>) and org.hibernate.search.engine.search.dsl.query.SearchQueryResultDefinitionContext#asProjection(java.util.function.Function<? super PJC,? extends org.hibernate.search.engine.search.dsl.projection.SearchProjectionTerminalContext<P>>)

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Fix versions

Priority

Major
Configure