CatalogueOfLife / backend

Complete backend of COL ChecklistBank
Apache License 2.0
14 stars 11 forks source link

CLB: unrepairable sectors due to missing targets #1294

Open yroskov opened 4 months ago

yroskov commented 4 months ago

Working with 3i Auchenorrhyncha... https://github.com/CatalogueOfLife/testing/issues/250#issuecomment-1952663642

Step 1: I am checking sectors in 3i Auchenorrhyncha: all sectors are not broken in the report, however, target is missing in all these sectors: https://www.checklistbank.org/catalogue/3/sector?limit=100&offset=0&subjectDatasetKey=2317 image image

image image

I cannot repair sectors because targets "suborder Auchenorrhyncha" & "infraorder Cicadomorpha" absent in target search.

Step 2: I am checking presence of target taxa in Assembly Tree: both taxa are present there https://www.checklistbank.org/catalogue/3/assembly?assemblyTaxonKey=43Pi9-r6k2QQ5t0klrv2u1&datasetKey=288268&sourceTaxonKey=320 image

@mdoering, could you please help? Perhaps, this caused by indexing problem...

gdower commented 4 months ago

Elastic might need to be re-indexed, because I see the name PSQL search but not elastic search:

https://api.checklistbank.org/dataset/3/nameusage?q=Cicadomorpha&rank=infraorder https://api.checklistbank.org/dataset/3/nameusage/search?q=Cicadomorpha&rank=infraorder

mdoering commented 4 months ago

reindexed: https://api.checklistbank.org/dataset/2317/nameusage/search?q=Cicadomorpha&rank=infraorder

mdoering commented 4 months ago

Oh, target is missing. That means reindexing of the entire project which takes 1-2h and makes it rather unusable during that time. Shall I?

mdoering commented 4 months ago

btw, slack would be a quicker communication for these kind of problems

yroskov commented 4 months ago

Shall I?

Yes, pls. I'll keep my fingers out of CLB until you give me green light

yroskov commented 4 months ago

OK, I am in Slack now. Waiting for your further comments