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/issues
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 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
elasticsearch Refactor and enhance issue indexer to support both searching, filtering and paging (#26012) 2 years ago
internal 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
meilisearch 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
dboptions.go Explain SearchOptions and fix ToSearchOptions (#26542) 2 years ago
indexer.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
indexer_test.go Fix review request number and add more tests (#27104) (#27168) 1 year ago
util.go Improve retrying index issues (#27554) (#27634) 1 year ago