0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-09-26 19:19:00 +02:00
gitea/modules/indexer/issues/meilisearch
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>
2024-04-13 17:44:57 +00:00
..
meilisearch.go Use db.ListOptions directly instead of Paginator interface to make iteasier to use and fix performance of /pulls and /issues (#29990) (#30447) 2024-04-13 17:44:57 +00:00
meilisearch_test.go Make meilisearch do exact search for issues (#29740 & #29671) (#29846) 2024-03-16 17:01:40 +01:00