Description
Even if you are using an algorithm that requires random access (eg. sorting based on the maximum value), it might still be ok to allow for it occasionally on a codec that doesn't support random access like MemoryDocValuesFormat by having a slow random-access wrapper. This slow wrapper would need to be enabled explicitely. This would allow to have algorithms that are optimized on random-access codecs but still work in the general case.