Waldemar Kłaczyński (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HSEARCH-3889 (
https://hibernate.atlassian.net/browse/HSEARCH-3889?atlOrigin=eyJpIjoiNTc...
)
Re: Exception Predicate targets unexpected fields when use nested() in sort filter (
https://hibernate.atlassian.net/browse/HSEARCH-3889?atlOrigin=eyJpIjoiNTc...
)
The user could define filters as you presented. Maybe it is better to allow more if it is
forbidden. Now the code is getting too complicated. Dividing queries later, submitting
them according to the use case is inefficient and complicates the code. You can't
prepare filtering patterns, querying dynamic models. Building separate filters for sorting
and searching, and in the future and aggregation will be too complicated.
After that, even if the user duplicated the predicates, they will be optimized. This is in
my patch. But it will be possible to bus complex predicates in satatic methods as well as
in native filters. Sometimes over-straining the nesting predicate as an indication that an
element should be nested if the context requires it.
(
https://hibernate.atlassian.net/browse/HSEARCH-3889#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-3889#add-comment?atlOrigin...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100124- sha1:185bad4 )