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

Abierto
#29 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
8/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Activo
Área
data, search

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Sin datos de lenguaje
Estrellas
2
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de DataONEorg/dataone

Todos los issues de DataONEorg/dataone

Issues similares

Más issues de Data Engineering

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.