1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-01 14:56:30 +00:00
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 () ()
backport 

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>
2024-04-13 17:44:57 +00:00
..
bleve Refactor and enhance issue indexer to support both searching, filtering and paging () 2023-07-31 06:28:53 +00:00
db Use db.ListOptions directly instead of Paginator interface to make iteasier to use and fix performance of /pulls and /issues () () 2024-04-13 17:44:57 +00:00
elasticsearch Refactor and enhance issue indexer to support both searching, filtering and paging () 2023-07-31 06:28:53 +00:00
internal Use db.ListOptions directly instead of Paginator interface to make iteasier to use and fix performance of /pulls and /issues () () 2024-04-13 17:44:57 +00:00
meilisearch Use db.ListOptions directly instead of Paginator interface to make iteasier to use and fix performance of /pulls and /issues () () 2024-04-13 17:44:57 +00:00
dboptions.go Explain SearchOptions and fix ToSearchOptions () 2023-08-16 15:40:13 +00:00
indexer_test.go Fix review request number and add more tests () () 2023-09-21 17:01:37 +00:00
indexer.go Use db.ListOptions directly instead of Paginator interface to make iteasier to use and fix performance of /pulls and /issues () () 2024-04-13 17:44:57 +00:00
util.go Improve retrying index issues () () 2023-10-16 09:55:53 +08:00