Hi Karl, I'm thinking InstantiatedIndex needs to implement either clone of all the index data or needs to be able to accept a non-optimized reader, or both. I forget what the obstacles are to implementing the non-optimized reader option? Do you think there are advantages or disadvantages when comparing the solutions?
Realtime search will need to periodically merge InstantiatedIndex's. One option is to clone an existing index, then add a document to it, clone, and so on, freeze it and later merge it with other indexes. The other option that provides the same functionality is to pass the smaller readers into an InstantiatedIndex. Jason