You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules/indexer
dark-angel 5c0fc90872
fix: Elasticsearch: Request Entity Too Large #28117 (#29062)
Fix for gitea putting everything into one request without batching and
sending it to Elasticsearch for indexing as issued in #28117

This issue occured in large repositories while Gitea tries to 
index the code using ElasticSearch.

I've applied necessary changes that takes batch length from below config
(app.ini)
```
[queue.code_indexer]
BATCH_LENGTH=<length_int>
```
and batches all requests to Elasticsearch in chunks as configured in the
above config
12 months ago
..
code fix: Elasticsearch: Request Entity Too Large #28117 (#29062) 12 months ago
internal Refactor and enhance issue indexer to support both searching, filtering and paging (#26012) 2 years ago
issues Fix sort bug on repository issues list (#28897) 1 year ago
stats Simplify how git repositories are opened (#28937) 1 year ago