LOGGER.info( "Creating term maps (class: " + termMapClass.getSimpleName() + ")..." ); for( int i = 0; i < indexedField.length; i++ ) IOFactories.storeObject( ioFactory, StringMaps.synchronize( termMapClass.getConstructor( Iterable.class ).newInstance( IOFactories.fileLinesCollection( ioFactory, basenameField[ i ] + DiskBasedIndex.TERMS_EXTENSION, "UTF-8" ) ) ), basenameField[ i ] + DiskBasedIndex.TERMMAP_EXTENSION );
BinIO.storeObject( StringMaps.synchronize( termMapClass.getConstructor( Iterable.class ).newInstance( new FileLinesCollection( basenameField[ i ] + DiskBasedIndex.TERMS_EXTENSION, "UTF-8" ) ) ), basenameField[ i ] + DiskBasedIndex.TERMMAP_EXTENSION );
BinIO.storeObject(synchronised ? StringMaps.synchronize(immutableExternalPrefixMap) : immutableExternalPrefixMap, jsapResult.getString("map"));