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 <[email protected]>
  • Loading branch information
Camelia-Orcid and amontenegro committed Sep 19, 2024
1 parent 76920bb commit 5849535
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 5849535

Please sign in to comment.