Find similar descriptors
Add a function that for selected input Descriptor
(in @RequestBody
) will return a ranked list of similar existing Descriptor
s in the database.
Use a similar approach as for accession similarity, but:
-
title
,description
string similarity -
columnName
,uom
category
crop
-
minValue
,maxValue
can be ignored - compare
descriptor.terms
bycode
,title
,description
- find the codes of descriptor A that match a code in descriptor B
- each match adds points to the score