From 5f9fcb248f734e5f09747dff73fc65ac0142dc8b Mon Sep 17 00:00:00 2001 From: njhlai Date: Tue, 15 Feb 2022 19:17:59 -0800 Subject: [PATCH] Added search result log --- .../com/openlattice/mechanic/upgrades/V3StudyMigrationUpgrade.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/com/openlattice/mechanic/upgrades/V3StudyMigrationUpgrade.kt b/src/main/kotlin/com/openlattice/mechanic/upgrades/V3StudyMigrationUpgrade.kt index 06837e3c..8d4b4cf6 100644 --- a/src/main/kotlin/com/openlattice/mechanic/upgrades/V3StudyMigrationUpgrade.kt +++ b/src/main/kotlin/com/openlattice/mechanic/upgrades/V3StudyMigrationUpgrade.kt @@ -205,6 +205,7 @@ class V3StudyMigrationUpgrade( ).neighbors.getOrDefault(studyEkid, listOf()) if (searchResult.isNotEmpty()) { + logger.info("Neighbor search returned ${searchResult.size} results") searchResult.filter { it.neighborId.isPresent && it.associationEntitySet.entityTypeId == associationParticipatedInEntityType} .forEach { neighbor -> // logger.info("Neighbour ${it.getNeighborId()} details:")