code: public static IndexedDataStore createIndexedDataStore(
              File homeDir,
              int initialCapacity,
              int indexSegmentFileSizeMB,
              SegmentFactory indexSegmentFactory,
              int storeSegmentFileSizeMB,
              SegmentFactory storeSegmentFactory) throws Exception {
          int batchSize = StoreParams.BATCH_SIZE_DEFAULT;
          int numSyncBatches = StoreParams.NUM_SYNC_BATCHES_DEFAULT;
          
          return createIndexedDataStore(
                  homeDir,
                  initialCapacity,
                  batchSize,
                  numSyncBatches,
                  indexSegmentFileSizeMB,
                  indexSegmentFactory,
                  storeSegmentFileSizeMB,
                  storeSegmentFactory);
      }
docs: Creates a dynamic {@link krati.store.DataStore DataStore} which grows its capacity as needed.
  The store created has the default parameters below.
  
  <pre>
  batchSize            : 10000
  numSyncBatches       : 10
  segmentCompactFactor : 0.5
  hashLoadFactor       : 0.75
  </pre>
  
  <p>
  It is recommended to have an <code>initialCapacity</code> which is large enough to hold the total number of keys
  eventually added to this store. This can reduce hash conflicts and yield better performance.
  
  <p>
  {@link krati.store.IndexedDataStore IndexedDataStore} is suitable for very large data sets
  in which the number of keys can fit into memory and the total bytes of all values is significantly
  larger than the available memory.
  
  @param homeDir                - the store home directory
  @param initialCapacity        - the initial capacity which should not be changed after the store is created
  @param indexSegmentFileSizeMB - the index segment size in MB with a recommended range from 8 to 32
  @param indexSegmentFactory    - the index segment factory, {@link krati.core.segment.MemorySegmentFactory MemorySegmentFactory} recommended
  @param storeSegmentFileSizeMB - the store segment size in MB with a recommended range from 8 to 256
  @param storeSegmentFactory    - the store segment factory, {@link krati.core.segment.WriteBufferSegmentFactory WriteBufferSegmentFactory} recommended
  @return A dynamic DataStore with growing capacity as needed.
  @throws Exception if the store cannot be created.