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

オープン
#29 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
8/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
領域
data, search

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
言語のデータがありません
スター
2
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DataONEorg/dataone のほかの issue

DataONEorg/dataone の issue をすべて見る

似ている issue

Data Engineering の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。