gitea/modules/indexer/code
zeripath ae7e6cd474
Reduce calls to git cat-file -s ()
* Reduce calls to git cat-file -s

There are multiple places where there are repeated calls to git cat-file
-s due to the blobs not being created with their size.

Through judicious use of git ls-tree -l and slight adjustments to the
indexer code we can avoid a lot of these calls.

* simplify by always expecting the long format

* Also always set the sized field and tell the indexer the update is sized
..
bleve.go Reduce calls to git cat-file -s ()
bleve_test.go Support elastic search for code search ()
elastic_search.go Reduce calls to git cat-file -s ()
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 ()