Closed nickdos closed 7 months ago
Related to recent support query searching for a number of snake genera.
raw_name search also doesn't find records that are provided in eg. genus:Neelaps, specificEpithet:bimaculatus form, since there is no scientificName supplied.
Code review requested on PR #523
Code looks good, move to QA.
Default Profile ALA general
Search for Phyllanthus hirtellus should find ~10k reccords
Search for Phyllanthus thymoides should return the results for Phyllanthus hirtellus (synonym)
Search for Phyllanthus hirtellus F.Muell. ex Müll.Arg. in both raw and non-raw form. Raw form should return about 70 records, non-raw the lot
Application error
Failed to get json from web service (https://biocache-ws-test.ala.org.au/ws/occurrences/search?q=qid%3A1642727109168&qualityProfile=ALA&start=0&pageSize=20&sort=first_loaded_date&dir=desc&qc=&facets=taxon_name%2Cfamily%2Cspecies_group%2Ccommon_name%2Cmonth%2Coccurrence_decade_i%2Cstate%2Cbasis_of_record%2Cmultimedia%2Coccurrence_status%2CcontentTypes%2Cassertion_user_id%2Cinstitution_uid%2Cdata_resource_uid&flimit=10). class org.grails.web.converters.exceptions.ConverterException Error parsing JSON, org.grails.web.converters.exceptions.ConverterException: Error parsing JSON; nested exception is org.grails.web.converters.exceptions.ConverterException: Error parsing JSON
Search for Eucalyptus regnans and Eucalyptus regnins the latter should fail because it goes to a higher match
Search for Wollemia nobilis and Wollemia nobilia the latter should fail because it is a misspelling (although matches W. nobilis so this may not be right)
Search for Eolophus roseicapilla and Eolophus roseicapillus these should give the same results (about 800k) when searching for matched names and half and half searching for raw name. Eolophus roseicapillus should be treated the same as E. roseicapilla in my opinion but that doesn’t seem to happen with the straight taxa search.
defect reported as https://github.com/AtlasOfLivingAustralia/biocache-service/issues/734
Thanks @Rita-C - I think that error for Phyllanthus hirtellus F.Muell. ex Müll.Arg.
is unrelated to this change, as it appears to be a result of an unescaped ü
char and its own bug.
On the search page, the "batch taxon search" tab...
It currently uses the "raw_name" field but some users want it to work the same way the "taxon name" (advanced tab) and simple search do, by performing a lookup on each name and converting to LSID search field.
Suggestion is to add options as follows:
raw_name
~taxon_name
~taxa param
~add option to be able to search against both provided and matched names