docs: public static BuildContext newDirectoryInstance(Cache<?, ?> metadataCache, Cache<?, ?> chunksCache, Cache<?, ?> distLocksCache, String indexName) {
        validateIndexCaches(indexName, metadataCache, chunksCache, distLocksCache);
        return new DirectoryBuilderImpl(metadataCache, chunksCache, distLocksCache, indexName);
     }