]> source.dussan.org Git - gitea.git/commit
Move Bleve and Elastic code indexers to use a common cat-file --batch (#14781)
authorzeripath <art27@cantab.net>
Thu, 4 Mar 2021 02:57:01 +0000 (02:57 +0000)
committerGitHub <noreply@github.com>
Thu, 4 Mar 2021 02:57:01 +0000 (21:57 -0500)
commit523efa433b61e00e7a14bd31cac315e43842d729
tree684139f1eb909e169031fb11eb292fae6307bfce
parent0044e804912099a6478b747230cdc37b2c8a3047
Move Bleve and Elastic code indexers to use a common cat-file --batch (#14781)

* Extract out the common cat-file batch calls

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Move bleve and elastic indexers to use a common cat-file --batch when indexing

Signed-off-by: Andrew Thornton <art27@cantab.net>
* move catfilebatch to batch_reader and rename to batch_reader.go

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lauris BH <lauris@nix.lv>
modules/git/batch_reader.go [new file with mode: 0644]
modules/git/batch_reader_nogogit.go [deleted file]
modules/git/commit_info_nogogit.go
modules/git/pipeline/lfs_nogogit.go
modules/git/repo_language_stats_nogogit.go
modules/indexer/code/bleve.go
modules/indexer/code/elastic_search.go