#1266  can ANTLR function disabled by default and turn on as required
Closed
weishuai opened 1 year ago

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.

weishuai changed state to 'Closed' 1 year ago
Previous Value Current Value
Open
Closed
issue 1 of 1
Type
Question
Priority
Normal
Assignee
Issue Votes (0)
Watchers (4)
Reference
onedev/server#1266
Please wait...
Page is in error, reload to recover