Phase 2: MeSH mirror schema and descriptor loader

Open
#2,732 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
sqlite, typescript
Domain
backend, database

Research direction

Start with the plan and card under .context/plans/mesh-mirror/ on the epic branch, then review the committed 14-record excerpt of desc2026 and the D1 migration and loader entry points. The work covers the mirror schema, streaming XML parsing, batched generation writes, atomic activation, and purging retired generations; done means these behaviors pass on Miniflare D1 against the excerpt.

Written by the indexing model from the issue text.

Description

feature

Part of epic #2731. A D1 migration for the mirror (descriptors, entry terms, a trigram FTS5 index over preferred labels, releases and sync state, with generations so a half-loaded release is never served), a streaming parser for NLM's yearly descriptor XML (desc<year>.gz), and a store module that writes one generation in batches, activates it atomically and purges retired generations. Tested on Miniflare D1 with a committed 14-record excerpt of desc2026. The plan and card live in the epic branch under .context/plans/mesh-mirror/.

Dominant language
TypeScript
Stars
0
Forks
1
Avg merge
4h 48m
Merged PRs (30d)
468

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nemarOrg/nemar-cli

All issues in nemarOrg/nemar-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.