Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Currently oak-run index command uses default DocumentNodeStore setup for all actions. It would be better if we can tune the DocumentNodeStore for specific actions.
For e.g. for read only indexing phase we should configure
- Persistent cache for previous documents and disable it for nodes and children
-Doak.documentMK.persCache="temp/cache,size=4096,binary=0,-nodes,-children"
- Configure cache size to some percentage of allocated heap. To start with say 50%
Any such tuning should only be done if it is not done explicitly i.e. it should be possible to override such settings