You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The scan and scroll operations declared in the ElasticsearchOperations interface and its implementation in ElasticsearchTemplate are unusable because the API returns a Page instance, instead of a ScrolledPage instance, at least. We can never get the scroll ID to perform further scroll operations.
The SearchResultMapper used under the hood returns an AggregatedPage, but it is completely hidden in the ElasticsearchTemplate class, where all startScroll methods return a Page instance.
The issue DATAES-445 already pointed out documentation issues, without explicitly talking about the API unusability.
Vincent Bories-Azeau opened DATAES-459 and commented
The scan and scroll operations declared in the
ElasticsearchOperations
interface and its implementation inElasticsearchTemplate
are unusable because the API returns aPage
instance, instead of aScrolledPage
instance, at least. We can never get the scroll ID to perform further scroll operations.The
SearchResultMapper
used under the hood returns anAggregatedPage
, but it is completely hidden in theElasticsearchTemplate
class, where allstartScroll
methods return aPage
instance.The issue DATAES-445 already pointed out documentation issues, without explicitly talking about the API unusability.
Thanks in advance for your help.
Affects: 3.0.7 (Kay SR7)
Referenced from: pull request #274
2 votes, 3 watchers
The text was updated successfully, but these errors were encountered: