Changing 'size' prop of ReactiveList causes the total number of hits to reset to 10000 #1563
-
Affected Projects Library Version: x.y.z Describe the bug but when I change the number of pages it drops down to 10000. To Reproduce Steps to reproduce the behavior:
Expected behavior The page show number of elements equals to what is set and keep showing number of total hits as before in this example 2 million Screenshots Before changing number of elements
Additional context I have previously had an issue when I was not able to get more than 10K hits and it was solved |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
This is default Elasticsearch 7.x setting. Since Elasticsearch 6.8.x is maintained until 8.x is released, it might not useful to resolve this issue on application level. |
Beta Was this translation helpful? Give feedback.
-
I have the same problem . I set defaultQuery as below |
Beta Was this translation helpful? Give feedback.
This is default Elasticsearch 7.x setting. Since Elasticsearch 6.8.x is maintained until 8.x is released, it might not useful to resolve this issue on application level.
You can get the total results by adding
?rest_total_hits_as_int=true
in your request parameter.