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
It seems that findAllById method on CRUD Repository (implemented in SimpleElasticsearchRepository) do not take iterable parameter size to search by IDs.
If passing more than 10 ids in iterable, Elasticsearch will return only first 10 results because of generated query :
I have a total response ok (size of iterable) but not hits (size of 10 default size).
I workaround it by doing a getById for each element, but not really performant :D
The text was updated successfully, but these errors were encountered:
SirBigoo
changed the title
findAllById is limited by default elasticsearch response size
findAllById is limited default elasticsearch response size and not iterable size
Jan 2, 2023
Hello,
It seems that
findAllById
method on CRUD Repository (implemented inSimpleElasticsearchRepository
) do not take iterable parameter size to search by IDs.If passing more than 10 ids in iterable, Elasticsearch will return only first 10 results because of generated query :
I have a total response ok (size of iterable) but not hits (size of 10 default size).
I workaround it by doing a getById for each element, but not really performant :D
The text was updated successfully, but these errors were encountered: