initial implementation exposing indexWriter and VersionMap ram usage