public HammingLSHStore(String folder, String dbName, IStoreEngineFactory dbEngine)
        {
            this.folder    = folder;
            this.storeName = dbName;

            IStoreEngine db = dbEngine.createInstance(folder, dbName, "conf", massInsertMode);

            hConf = new HammingConfiguration(folder, dbName, db, massInsertMode);
            init(dbEngine, massInsertMode);
            hConf.saveConfiguration();
        }
 public HammingLSHStore(String folder, String dbName, IStoreEngineFactory dbEngine, Configuration hc, bool massInsertMode)
 {
     this.folder         = folder;
     this.storeName      = dbName;
     this.massInsertMode = massInsertMode;
     if (hc == null)
     {
         IStoreEngine db = dbEngine.createInstance(folder, dbName, "conf", massInsertMode);
         hConf = new HammingConfiguration(folder, dbName, db, massInsertMode);
     }
     else
     {
         hConf = (HammingConfiguration)hc;
     }
     init(dbEngine, massInsertMode);
 }