Search 6 groundwork - Add to the predicate DSL the missing per-predicate options compared to Search 5
Description
follows up on
is followed up by
Activity
Show:

Fabio Massimo Ercoli February 20, 2019 at 8:16 AM
According to the analysis we did here: [Hibernate Search 6 - Query Predicates Comparison](https://docs.google.com/spreadsheets/d/1tLVyp5irn5SV_wVX6LKn2BxmqHewSGKsBv9a2gMlwKk/edit?usp=sharing).
The scope of this issue it is bounded to port `boostedTo` and `withConstantScore` at the predicate level in Hibernate Search 6.
Fixed
Details
Details
Assignee

Reporter

Components
Sprint
None
Fix versions
Priority
Created April 11, 2018 at 6:57 AM
Updated March 21, 2019 at 5:27 PM
Resolved February 28, 2019 at 12:58 PM
See the methods in
org.hibernate.search.engine.search.dsl.predicate.SearchPredicateFactoryContext
: they are the new starting point for creating predicates, and they should return objects that offer at least as many options as what we had in Search 5.You can compare these entry points and the returned interfaces to the entry points exposed in Search 5 in
org.hibernate.search.query.dsl.QueryBuilder
. Note thatall
was renamed tomatchAll
,keyword
was renamed tomatch
, and methods that don't have a matching counterpart in Search 6 yet should be ignored (they will be handled in HSEARCH-3089).Match, range and bool predicates in particular might be missing some options.