1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-09 19:54:25 +00:00
gitea/modules/indexer/internal
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 Fix Init of db indexer (#25470) 2023-06-23 14:39:52 +00:00
elasticsearch Refactor and enhance issue indexer to support both searching, filtering and paging (#26012) 2023-07-31 06:28:53 +00:00
meilisearch Add io.Closer guidelines (#29387) 2024-02-25 13:05:23 +00:00
base32.go Refactor indexer (#25174) 2023-06-23 12:37:56 +00:00
indexer.go Refactor indexer (#25174) 2023-06-23 12:37:56 +00:00
paginator.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