Fabio Massimo Ercoli (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate Search (
https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiYWJkYWM2...
) / Task (
https://hibernate.atlassian.net/browse/HSEARCH-3947?atlOrigin=eyJpIjoiYWJ...
) HSEARCH-3947 (
https://hibernate.atlassian.net/browse/HSEARCH-3947?atlOrigin=eyJpIjoiYWJ...
) Avoid creating huge arrays for collectors when a query does not have an upper bound
limit (
https://hibernate.atlassian.net/browse/HSEARCH-3947?atlOrigin=eyJpIjoiYWJ...
)
Issue Type: Task Affects Versions: 6.0.0.Beta8 Assignee: Unassigned Components:
backend-lucene Created: 11/Jun/2020 03:14 AM Fix Versions: 6.0.0.Beta-backlog-low-priority
Priority: Major Reporter: Fabio Massimo Ercoli (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
Instead of allocating such arrays, we could introduce an incremental allocation behind the
hood.
E.g.: we'd execute the query once to retrieve the top 100, and if there is more,
we'd do it again with 200, then 400, then 800, and so on.
(
https://hibernate.atlassian.net/browse/HSEARCH-3947#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-3947#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#100128- sha1:3143c77 )