Skip to main content

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-rag source, measured on 2026-09-19. It is derivative: the data store and omnibioai-rag remain 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​

PartWhat it holdsMeasured
Abstract storeone JSON file per PMID per directory, grouped into named domains and general-corpus shard directories282 directories with an active index
Indexesone FAISS index and one PMID map per active directory282 indexes
Metadata storeper-PMID metadata files60,931 files in 9 directories
PDF storedirectories for downloaded PDFs0 files
Baseline archivesraw NLM baseline files1,334 archive files
Ingest ledgera record of what the ingest tool processed (partial)1,201,173 distinct PMIDs
Sync statethe update-sync utility's progress record285 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.

QuantityValueUnitAuthorityState
Abstract JSON files75,458,239JSON files (one per PMID per directory)directory listingMEASURED_ON_DISK
Distinct PubMed IDs in the abstract files28,131,100distinct PMIDsdirectory listingMEASURED_ON_DISK
Distinct PubMed IDs in the PMID maps28,123,595distinct PMIDspmid map filesMEASURED_ON_DISK
PMID map entries72,746,637map entries (one per indexed position)pmid map filesMEASURED_ON_DISK
Stored PMIDs with no index entry7,505distinct PMIDspmid map filesMEASURED_ON_DISK
PMID/domain memberships recorded by the ingest ledger1,289,930(PMID, domain) ledger rowssqlite ingest ledgerMEASURED_ON_DISK
Distinct PubMed IDs in the ingest ledger1,201,173distinct PMIDssqlite ingest ledgerMEASURED_ON_DISK
Domains listed in the ingest ledger101ledger domain rowssqlite ingest ledgerMEASURED_ON_DISK
Domains with an active index282domainsfaiss index headersMEASURED_ON_DISK
Named domains150domainsfaiss index headersMEASURED_ON_DISK
General-corpus shard directories132shard directoriesfaiss index headersMEASURED_ON_DISK
Active FAISS indexes282indexesfaiss index headersMEASURED_ON_DISK
Vectors in active indexes75,287,585vectorsfaiss index headersMEASURED_ON_DISK
Sub-abstract text chunks0text chunkssource code reviewIMPLEMENTED_IN_SOURCE
Metadata record files60,931metadata JSON filesdirectory listingMEASURED_ON_DISK
PDF files on disk0filesdirectory listingMEASURED_ON_DISK
Ledger rows flagged as PDF downloaded1(PMID, domain) ledger rowssqlite ingest ledgerMEASURED_ON_DISK
Baseline archive files1,334archive filesdirectory listingMEASURED_ON_DISK
Update files processed by the sync utility285update archive filessync state fileMEASURED_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.