Skip to content

Commit

Permalink
Keep just the ROR other names indexed in solr (#7087)
Browse files Browse the repository at this point in the history
Co-authored-by: Angel Montenegro <a.montenegro@orcid.org>
  • Loading branch information
Camelia-Orcid and amontenegro committed Sep 17, 2024
1 parent 85443c5 commit c8260d8
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,6 @@ private OrgDisambiguatedSolrDocument convertEntityToDocument(OrgDisambiguatedEnt
document.setOrgNamesJson(entity.getNamesJson());
}

List<OrgEntity> orgs = orgDao.findByOrgDisambiguatedId(entity.getId());
if (orgs != null) {
for (OrgEntity org : orgs) {
orgNames.add(org.getName());
}
}
document.setOrgNames(new ArrayList<>(orgNames));

if (OrgDisambiguatedSourceType.FUNDREF.name().equals(entity.getSourceType())) {
Expand Down

0 comments on commit c8260d8

Please sign in to comment.