protected VariantSearchLoadListener newVariantSearchLoadListener() throws StorageEngineException { return VariantSearchLoadListener.empty(); }
count++; if (count % insertBatchSize == 0) { loadListener.preLoad(variantList); numLoadedVariants += variantList.size(); try { throw new VariantSearchException("Error inserting variant.", e); loadListener.postLoad(variantList); variantList.clear(); loadListener.preLoad(variantList); numLoadedVariants += variantList.size(); try { throw new VariantSearchException("Error inserting variant.", e); loadListener.postLoad(variantList); loadListener.close();
processAlreadySynchronizedVariants(alreadySynchronizedVariants);
variantSearchManager.load(collectionName, iterator, progressLogger, VariantSearchLoadListener.empty()); } else { throw new StorageEngineException("Solr is not alive!");