Skip to content

@Query annotated repository function only returns the first 10 documents #1917

Closed
@sothawo

Description

@sothawo

Repository methods defined with a @ Query annotation are sent having the default size value of 10 set in the request and so only get the first 10 documents.

This can be worked around currently by adding a Pageable.unpaged() parameter to the method and changing the return type to SearchPage<T>

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions