RAMInvIndex is an entirely in-memory implementation of KinoSearch1::Store::InvIndex. It serves two main purposes.

First, it's possible to load an existing FSInvIndex into memory, which can improve search-speed -- if you have that kind of RAM to spare. Needless to say, any FSInvIndex you try to load this way should be appropriately modest in size.