You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules/indexer/internal
Lunny Xiao 09df5c9c7d
Use db.ListOptions directly instead of Paginator interface to make iteasier to use and fix performance of /pulls and /issues (#29990) (#30447)
backport #29990

This PR uses `db.ListOptions` instead of `Paginor` to make the code
simpler.
And it also fixed the performance problem when viewing /pulls or
/issues. Before the counting in fact will also do the search.

Co-authored-by: Jason Song <i@wolfogre.com>
Co-authored-by: silverwind <me@silverwind.io>
11 months ago
..
bleve Refactor and enhance issue indexer to support both searching, filtering and paging (#26012) 2 years ago
db Fix `Init` of db indexer (#25470) 2 years ago
elasticsearch Refactor and enhance issue indexer to support both searching, filtering and paging (#26012) 2 years ago
meilisearch Refactor and enhance issue indexer to support both searching, filtering and paging (#26012) 2 years ago
base32.go
indexer.go
paginator.go Use db.ListOptions directly instead of Paginator interface to make iteasier to use and fix performance of /pulls and /issues (#29990) (#30447) 11 months ago