public MultiIndex createNewIndex ( String suffix ) throws IOException { IndexInfos indexInfos = new IndexInfos ( ) ; IndexUpdateMonitor indexUpdateMonitor = new DefaultIndexUpdateMonitor ( ) ; IndexerIoModeHandler modeHandler = new IndexerIoModeHandler ( IndexerIoMode . READ_WRITE ) ; MultiIndex newIndex = new MultiIndex ( this , getContext ( ) . getIndexingTree ( ) , modeHandler , indexInfos , indexUpdateMonitor , cloneDirectoryManager ( this . getDirectoryManager ( ) , suffix ) ) ; return newIndex ; }
Create a new index with the same actual context .