Closed adam-collins closed 5 months ago
taxonRanks.json
with location specified by config taxonRanksFile
/ranks
response to rk_
index fields/ranks
7
taxonRanks.json
's otherNames
when searching for rankID
ala-name-matching-model
's RankType
class as the source for the default taxonRanks.json
. Leaving this now unused file as a reference when constructing an override file, see 2
.
rankID is populated using an external reference file at the time DwCA names indexes are imported.
The ALA names index has this information but does not include it in the combined version of the names index. https://github.com/AtlasOfLivingAustralia/ala-name-matching/issues/223
Improvements
ws/ranks
to only return results that are present in the index. This is to include informationbranch
notes
othernames
found in taxonRanks.json to rank and rankID that exist in the index.buildNameFormatted
that usesrankGroup
because this information may now be absent and need to be inferred fromrank
andrankID
. e.g. rankGroup is the upper rank name where the upper rank is identified by a rankID in the 000's, e.g. 1000, 2000, 7000.ranks()
https://github.com/AtlasOfLivingAustralia/bie-index/blob/master/grails-app/services/au/org/ala/bie/ImportService.groovy#L2767 so thatotherNames
are correctly added to the map for searching purposes. Prevent changes tows/ranks
output because it also uses this method.