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 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>
11 months ago
..
bleve Determine fuzziness of bleve indexer by keyword length (#29706) 11 months ago
db Use db.ListOptions directly instead of Paginator interface to make it easier to use and fix performance of /pulls and /issues (#29990) 11 months ago
elasticsearch Refactor to use optional.Option for issue index search option (#29739) 11 months ago
internal Use db.ListOptions directly instead of Paginator interface to make it easier to use and fix performance of /pulls and /issues (#29990) 11 months ago
meilisearch Use db.ListOptions directly instead of Paginator interface to make it easier to use and fix performance of /pulls and /issues (#29990) 11 months ago
dboptions.go Refactor to use optional.Option for issue index search option (#29739) 11 months ago
indexer.go Use db.ListOptions directly instead of Paginator interface to make it easier to use and fix performance of /pulls and /issues (#29990) 11 months ago
indexer_test.go Refactor to use optional.Option for issue index search option (#29739) 11 months ago
util.go Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995) 11 months ago