Currently OakDirectory in Lucene splits the index file in size of 32kb. It would be better if this this is made configurable.
- Possibility to set it to higher value like 1MB - Original size was kept small to allow them to be made part of Segment data itself and make use of MMap IO. However when working with DocumentNodeStore it does not provide much benifit.
- As the value is power of 2 it causes wasted space when blobs are stored in MongoDocumentStore (
Any change should be backward compatibile