ANTLR may generate a large index file for huge repo,can it be turned off by default?
Robin Shen commented 1 year ago
How big is your repo and index respectively?
weishuai commented 1 year ago
How big is your repo and index respectively?
top big repo is Linux branch ,uboot branch andother mcu projects with lvgl(a gui lib)index is about 1GB,but onedev is running on my own huawei cloud ,where disk is restricted,so I want to control the usage
Robin Shen commented 1 year ago
1G does not seem a big space nowadays... Disabling indexing means all search feature and symbol navigation will not be available. Also some other features need to access the index, for instance, various report publish may need to search for exact path in repo based on partial of the path (Java package etc).
I'd rather not to add another setting to complicate things.
ANTLR may generate a large index file for huge repo,can it be turned off by default?