0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-16 04:55:45 +01:00
gitea/modules/indexer/issues
Lunny Xiao 3f26fe2fa2
Use db.ListOptions directly instead of Paginator interface to make it easier to use and fix performance of /pulls and /issues (#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>
2024-03-24 18:51:08 +00:00
..
bleve Determine fuzziness of bleve indexer by keyword length (#29706) 2024-03-23 16:45:13 +01:00
db Use db.ListOptions directly instead of Paginator interface to make it easier to use and fix performance of /pulls and /issues (#29990) 2024-03-24 18:51:08 +00:00
elasticsearch Refactor to use optional.Option for issue index search option (#29739) 2024-03-13 08:25:53 +00:00
internal Use db.ListOptions directly instead of Paginator interface to make it easier to use and fix performance of /pulls and /issues (#29990) 2024-03-24 18:51:08 +00:00
meilisearch Use db.ListOptions directly instead of Paginator interface to make it easier to use and fix performance of /pulls and /issues (#29990) 2024-03-24 18:51:08 +00:00
dboptions.go Refactor to use optional.Option for issue index search option (#29739) 2024-03-13 08:25:53 +00:00
indexer_test.go Refactor to use optional.Option for issue index search option (#29739) 2024-03-13 08:25:53 +00:00
indexer.go Use db.ListOptions directly instead of Paginator interface to make it easier to use and fix performance of /pulls and /issues (#29990) 2024-03-24 18:51:08 +00:00
util.go Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995) 2024-03-22 13:53:52 +01:00