gitea/modules/indexer/code
zeripath 523efa433b
Move Bleve and Elastic code indexers to use a common cat-file --batch ()
* 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>
..
bleve.go Move Bleve and Elastic code indexers to use a common cat-file --batch ()
bleve_test.go Support elastic search for code search ()
elastic_search.go Move Bleve and Elastic code indexers to use a common cat-file --batch ()
elastic_search_test.go Fix bug on elastic search ()
git.go Reduce calls to git cat-file -s ()
indexer.go [Feature] add precise search type for Elastic Search ()
indexer_test.go [Feature] add precise search type for Elastic Search ()
search.go [Feature] add precise search type for Elastic Search ()
wrapped.go [Feature] add precise search type for Elastic Search ()