public void addResult(final BulkWriteResult result, final IndexMap indexMap) {
    """
	Add a result
	
	@param result   the result
	@param indexMap the index map
    """
        insertedCount += result.getInsertedCount();
        matchedCount += result.getMatchedCount();
        deletedCount += result.getDeletedCount();
        modifiedCount += result.getModifiedCount();
        mergeUpserts(result.getUpserts(), indexMap);
    }
public void addResult(final BulkWriteResult result, final IndexMap indexMap) {
        insertedCount += result.getInsertedCount();
        matchedCount += result.getMatchedCount();
        deletedCount += result.getDeletedCount();
        modifiedCount += result.getModifiedCount();
        mergeUpserts(result.getUpserts(), indexMap);
    }
public void addResult ( final BulkWriteResult result , final IndexMap indexMap ) { insertedCount += result . getInsertedCount ( ) ; matchedCount += result . getMatchedCount ( ) ; deletedCount += result . getDeletedCount ( ) ; modifiedCount += result . getModifiedCount ( ) ; mergeUpserts ( result . getUpserts ( ) , indexMap ) ; }
Add a result

@param result   the result
@param indexMap the index map
Add a result