PubMed Corpus
About this data (generated 2026-09-19)
Generated discovery surface. This page is generated from a read-only inventory of the local PubMed data store and the
omnibioai-ragsource, measured on 2026-09-19. It is derivative: the data store andomnibioai-ragremain the authoritative sources. Measured, configured and implemented-in-source are not the same as deployed, and deployed is not the same as operationally verified. See Provenance for how to read every figure.
What is stored
The corpus is a local, domain-organised store of PubMed abstract records. It is built from two routes: domain-scoped searches through NCBI Entrez (implemented by the omnibioai-rag ingestion loader) and the NLM PubMed baseline and update files (handled by the sync utility in omnibioai-utils). Each record is a JSON file named by its PMID, and the retrieval code reads the abstract text from it.
The store holds 75,458,239 abstract JSON files representing 28,131,100 distinct PMIDs. The two figures differ because the same PMID can have a file in more than one directory.
How it is organised
| Part | What it holds | Measured |
|---|---|---|
| Abstract store | one JSON file per PMID per directory, grouped into named domains and general-corpus shard directories | 282 directories with an active index |
| Indexes | one FAISS index and one PMID map per active directory | 282 indexes |
| Metadata store | per-PMID metadata files | 60,931 files in 9 directories |
| PDF store | directories for downloaded PDFs | 0 files |
| Baseline archives | raw NLM baseline files | 1,334 archive files |
| Ingest ledger | a record of what the ingest tool processed (partial) | 1,201,173 distinct PMIDs |
| Sync state | the update-sync utility's progress record | 285 update files processed |
Named domains are defined by topic queries. General-corpus shards are directories that partition the general corpus; a shard is not a text chunk. See Domains.
The count matrix
Every quantity has its own unit and authority. Read the unit before reading the number.
| Quantity | Value | Unit | Authority | State |
|---|---|---|---|---|
| Abstract JSON files | 75,458,239 | JSON files (one per PMID per directory) | directory listing | MEASURED_ON_DISK |
| Distinct PubMed IDs in the abstract files | 28,131,100 | distinct PMIDs | directory listing | MEASURED_ON_DISK |
| Distinct PubMed IDs in the PMID maps | 28,123,595 | distinct PMIDs | pmid map files | MEASURED_ON_DISK |
| PMID map entries | 72,746,637 | map entries (one per indexed position) | pmid map files | MEASURED_ON_DISK |
| Stored PMIDs with no index entry | 7,505 | distinct PMIDs | pmid map files | MEASURED_ON_DISK |
| PMID/domain memberships recorded by the ingest ledger | 1,289,930 | (PMID, domain) ledger rows | sqlite ingest ledger | MEASURED_ON_DISK |
| Distinct PubMed IDs in the ingest ledger | 1,201,173 | distinct PMIDs | sqlite ingest ledger | MEASURED_ON_DISK |
| Domains listed in the ingest ledger | 101 | ledger domain rows | sqlite ingest ledger | MEASURED_ON_DISK |
| Domains with an active index | 282 | domains | faiss index headers | MEASURED_ON_DISK |
| Named domains | 150 | domains | faiss index headers | MEASURED_ON_DISK |
| General-corpus shard directories | 132 | shard directories | faiss index headers | MEASURED_ON_DISK |
| Active FAISS indexes | 282 | indexes | faiss index headers | MEASURED_ON_DISK |
| Vectors in active indexes | 75,287,585 | vectors | faiss index headers | MEASURED_ON_DISK |
| Sub-abstract text chunks | 0 | text chunks | source code review | IMPLEMENTED_IN_SOURCE |
| Metadata record files | 60,931 | metadata JSON files | directory listing | MEASURED_ON_DISK |
| PDF files on disk | 0 | files | directory listing | MEASURED_ON_DISK |
| Ledger rows flagged as PDF downloaded | 1 | (PMID, domain) ledger rows | sqlite ingest ledger | MEASURED_ON_DISK |
| Baseline archive files | 1,334 | archive files | directory listing | MEASURED_ON_DISK |
| Update files processed by the sync utility | 285 | update archive files | sync state file | MEASURED_ON_DISK |
Reading the counts
- Abstract JSON files. Not a count of publications: a PMID can have a file in more than one directory.
- Distinct PubMed IDs in the abstract files. Distinct file names across directories. This is the closest measured quantity to "number of publications stored", and only for the local store.
- Distinct PubMed IDs in the PMID maps. PMIDs that have at least one vector position in an index whose map file exists.
- PMID map entries. A PMID indexed in several domains is counted once per map.
- Stored PMIDs with no index entry. Distinct PMIDs that have an abstract file but appear in no PMID map.
- PMID/domain memberships recorded by the ingest ledger. Covers only what the ingest tool processed; it is not a membership count for the whole abstract store.
- Distinct PubMed IDs in the ingest ledger. A partial ledger; not comparable with the abstract-store figure.
- Domains listed in the ingest ledger. A different record from the store: compare with the domain count rather than assuming the two match.
- Domains with an active index. Named domains plus general-corpus shard directories.
- Named domains. Domains defined by a topic query.
- General-corpus shard directories. A shard is a directory that partitions the general corpus. It is not a text chunk.
- Active FAISS indexes. One index per active domain directory.
- Vectors in active indexes. Not a publication count: several indexes can hold vectors for the same PMID.
- Sub-abstract text chunks. No text-splitting stage was found in source: each abstract is embedded as one unit. Absence established by static review, not measurement.
- Metadata record files. Counts files in 9 metadata directories; it is not per-domain coverage.
- PDF files on disk. Counts files in the PDF store directories.
- Ledger rows flagged as PDF downloaded. A ledger flag, not a file count: compare with the PDF files on disk.
- Baseline archive files. Raw NLM baseline archives named by release and sequence.
- Update files processed by the sync utility. A count of file names recorded by the sync utility, not a count of records.
What not to do with these numbers
- Do not describe any of them as a count of papers or as the size of PubMed. The closest measured quantity is the distinct PMIDs in the abstract files, and only for this local store.
- Do not divide one by another to infer duplication or coverage. They come from different sources with different scopes.
- Do not read the ingest ledger as the store: it records only what the ingest tool processed.
- 7,505 distinct PMIDs in the abstract store appear in no PMID map, so they have no vector in any active index.
- Sync counters are not corpus quantities. See Freshness and Synchronization.
Source release
Baseline archives are named with a pubmed26n prefix (release year 2026, read from the file names). 1,334 baseline archives cover sequence 1 to 1334 without gaps.