Waldemar Kłaczyński (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HSEARCH-3839 (
https://hibernate.atlassian.net/browse/HSEARCH-3839?atlOrigin=eyJpIjoiYTN...
)
Re: Sorting by numeric value has an exception "(expected=NUMERIC). Use
UninvertingReader or index with docvalues" (
https://hibernate.atlassian.net/browse/HSEARCH-3839?atlOrigin=eyJpIjoiYTN...
)
All in all, the solution completely exhausts the problem of many fields. There is still a
problem of aggregation of many values. Report a new aggregation problem. The problem is
similar, you must specify how the filter should behave for multiple values. In storage
Storage.FLATTENED works but you cannot specify the logic, in Storage.NESTED all values for
the filter disappear.
PredicateFinalStep filter = scope.predicate()
.match().field("prices.active").matching(true);
SearchQuery<Assortment> query = session.search(scope)
.where((f) -> f.bool().must(select)
.filter(filter))
This is also a critical problem, I will try to solve it. I think that the multi parameter
from AND, OR, XOR etc. could be similarly vy ....
(
https://hibernate.atlassian.net/browse/HSEARCH-3839#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-3839#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#100121- sha1:cefda43 )