-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 8.10
-
Component/s: Elasticsearch, Query & PageProvider
-
Epic Link:
-
Backlog priority:700
-
Sprint:nxcore 9.2.6
-
Story Points:5
Since NXP-19194 we use Elasticsearch 2.x and it implies a limit in the number of results for a query.
The limit is set by the index.max_result_window elasticsearch option which is 10000 by default.
Note that the limitation is not only that you can not return more than 10k (the size param)
but also you can not get results above 10k, so from + size must be < 10k.
A PageProvider that returns more than 10k match will work until asking for a page above 10k.
Page Provider should limit the navigation to a certain number of pages to stay on the result window.
–
The page provider navigation is now limited to the first 10k documents (this is the default maximum result window defined in Elasticsearch).
When there is more than 10k results there is no more button to go to the last page or to go to a next page above this range.
The limit of 10k can be changed using the configuration service by setting the property: org.nuxeo.elasticsearch.provider.maxResultWindow.