Reputation: 143
As i can set text string in @Query(org.springframework.data.solr.repository.Query) Spring Solr Search.
But for pagination i need to set "start" and "rows" params in @Query?
Please suggest how to set these in @Query and use in Solr repositories.
Thanks in advance
Upvotes: 1
Views: 768
Reputation: 186
You can define pagination options using the PageRequest[1] class which implements the Pageable[2] interface.
Upvotes: 1