KNB's search index lists ~74.6k LTER and PISCO DOIs as KNB-authoritative

Ouverte
#29 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
8/100
Type d'issue
Bug
Clarté
À clarifier
Activité
Active
Domaine
data, search

Piste de recherche

This is a data-investigation question, not a code change. The reproduction queries against KNB's and the CN's Solr endpoints (/v2/query/solr/) are in the issue body and show the counts. The open questions are whether the 10.6073/AA/ records should stay KNB-authoritative and whether the PISCO system metadata or only KNB's index is wrong, and both need DataONE maintainers to decide. Done means those decisions are recorded, not a patch.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

Summary

While planning DOI collection for scythe (DataONEorg/scythe#47), I compared each member node's own Solr index with the CN's index, counting only the DOI records that each index says the node is authoritative for (authoritativeMN). KNB's index lists about 74.6k DOI records as KNB-authoritative that the CN doesn't. They fall into two groups:

Group Prefix In KNB's index as KNB-authoritative CN, as KNB-authoritative CN's record DOI resolves to
Retired LTER records 10.6073/AA/ 34,410 665 mostly absent EDI's "data package not available" page (HTTP 404)
PISCO records 10.6085/AA/ 40,242 5 authoritativeMN and datasource are urn:node:PISCO (105,956 10.6085 DOIs) PISCO's MetacatUI

In KNB's index, both groups have datasource and authoritativeMN set to urn:node:KNB.

  • Retired LTER records. These were probably removed from the CN on purpose and aren't re-harvested, because LTER has dropped them, even though the DOIs are real. If so, the question is whether KNB should still hold them, list itself as their authoritative node, and return them in searches.
  • PISCO records. These look mislabelled: the CN lists PISCO as their authoritative node, and the DOIs resolve to PISCO's site, yet KNB's index lists KNB.

Evidence

Measured on 2026-10-10 with the query (id:doi* OR seriesId:doi*) and the filter authoritativeMN:"urn:node:KNB", against KNB's /v2/query/solr/ and the CN's.

KNB's index CN
All DOI records with KNB authoritative 82,878 8,760
10.5063/ (KNB's own prefix) 8,221 8,088
10.6073/AA/ 34,410 665
10.6085/AA/ 40,242 5

The 10.6073/AA/ records were uploaded 2004–2012. 24,926 of them are older versions, and 34,366 are metadata.

Examples:

doi:10.6073/AA/knb-lter-vcr.67.5

  • KNB's index: datasource and authoritativeMN are urn:node:KNB; uploaded 2005-08-06.
  • CN: not in the index.
  • Resolves to https://environmentaldatainitiative.org/data-package-not-available?doi=10.6073/AA/KNB-LTER-VCR.67.5, which returns HTTP 404.

doi:10.6085/AA/SWC001_022MXTI021R00_20010522.50.3

  • KNB's index: datasource and authoritativeMN are urn:node:KNB.
  • CN: both are urn:node:PISCO.
  • Resolves to https://data.piscoweb.org/metacatui/#view/doi:10.6085/AA/SWC001_022MXTI021R00_20010522.50.3.

To reproduce:

https://knb.ecoinformatics.org/knb/d1/mn/v2/query/solr/?q=id:doi\:10.6085/AA/*&fq=authoritativeMN:%22urn:node:KNB%22&rows=0&wt=json
https://cn.dataone.org/cn/v2/query/solr/?q=id:doi\:10.6085/AA/*&fq=authoritativeMN:%22urn:node:KNB%22&rows=0&wt=json
https://knb.ecoinformatics.org/knb/d1/mn/v2/query/solr/?q=id:%22doi:10.6085/AA/SWC001_022MXTI021R00_20010522.50.3%22&fl=id,datasource,authoritativeMN&wt=json

Questions

  1. Retired LTER records (10.6073/AA/): were they removed from the CN on purpose? Should KNB still hold them as KNB-authoritative and return them in searches?
  2. PISCO records (10.6085/AA/): why does KNB's index list 40k PISCO records with authoritativeMN and datasource set to KNB? Is the system metadata wrong on KNB, or only its index?

Related findings

These came from the same comparison and may belong in separate issues:

  • The CN is missing some records outright. For example, the CN lacks 133 of KNB's own 10.5063/ records, including doi:10.5063/F1JW8CCW (uploaded 2025-10-03). It also lacks 373 ARCTIC and 300 SI DOI records in all, for example doi:10.60635/C3704M (SI, uploaded 2026-04-09).
  • The CN lags on recent uploads. 11 of 40 sampled ARCTIC metadata records uploaded between late August and September 2026 weren't in the CN index, including:
    • doi:10.18739/A2NV99D1P (uploaded 2026-09-30);
    • doi:10.18739/A29S1KN57 (2026-09-18);
    • doi:10.18739/A2WP9T88X (2026-09-09);
    • doi:10.18739/A2639K74K (2026-08-27).
  • GOA's index stores authoritativeMN with literal quote marks ("\"urn:node:GOA\""). So fq=authoritativeMN:"urn:node:GOA" matches none of its 42 records in GOA's own index, while the CN's index is correct.
  • ESS-DIVE's member node returns HTTP 403 for Solr queries (https://data.ess-dive.lbl.gov/catalog/d1/mn/v2/query/solr/).

How scythe handles this for now

Scythe's scheduled search will query the priority nodes' own indexes for their authoritative records, so new uploads are searched promptly. Two safeguards:

  • Fallback: it falls back to the CN for a node whose index refuses queries or returns fewer records than the CN (ESS-DIVE, GOA).
  • Excluded prefixes: it skips the 10.6073/AA/ and 10.6085/AA/ prefixes when collecting KNB's DOIs. The PISCO records are still covered through PISCO on the CN.

🤖 Generated with Claude Code

Langage dominant
Aucune donnée de langage
Étoiles
2
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de DataONEorg/dataone

Toutes les issues de DataONEorg/dataone

Issues similaires

Plus d'issues Data Engineering

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.