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
You can define pagination options using the PageRequest[1] class which implements the Pageable[2] interface.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.