AtlasOfLivingAustralia / ala-name-matching

Atlas name matching API and index generation
Other
10 stars 13 forks source link

Synthetic parent taxa cause child names to point to the parent in the identifier index #171

Open charvolant opened 1 year ago

charvolant commented 1 year ago

See https://github.com/AtlasOfLivingAustralia/ala-namematching-service/issues/53

The cause of this seems to be a bug in the merging of synthetic names during combined index construction. The synthetic parent taxon inherits the scientificNameID, which is also used as a taxonID for the original taxon. This causes an erroneous lookup in the identifier index.