globalise_search_transcriptions
Search 4.8 million Dutch East India Company transcription pages by full text, inventory, year, and language to locate VOC records and highlighted snippets.
Instructions
Full-text search of GLOBALISE VOC (Dutch East India Company) transcriptions. ~4.8M HTR-transcribed pages from the Nationaal Archief (1.04.02), 17th-18th century. Free-text query over the page transcriptions: covers the full corpus, with filters for inventory number(s), inventory range(s) ("1053-4454", expanded server-side), a year window (yearFrom/yearTo, resolved through the local archival index to overlapping inventories — approximate, and blind to the ~28% of inventories the index lacks, mostly the 9000-11024 Zeeland copies; the note states the resolved count) and language(s). Query syntax (Elasticsearch): a bare space means OR — use uppercase AND for all-terms; plus NOT, wildcards (* ?), fuzzy matching (~N, for HTR/OCR spelling noise), exact phrases in quotes; query defaults to "" (match everything). Languages accept ISO 639-3 codes or English names; matchAll=true requires pages to contain ALL listed languages (bilingual documents) by post-filtering a capped candidate window — totals are then a lower bound, see the response note. Returns paginated hits with highlighted fragments, plus language/inventory/document aggregations. For statistics only (e.g. the language breakdown of an inventory), use query="" with size=1. Each result carries both id (URN form) and document (bare ID); open a page in the web viewer at https://transcriptions.globalise.huygens.knaw.nl/detail/ + the URN-form id. For a known document ID use globalise_retrieve_document. Use fragmentSize to trade snippet length for response size (lower = smaller, default 200).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "globalise_search_transcriptions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Pagination offset (default: 0) | |
| size | No | Results per page (1-500, default: 10). Large result sets consume more context. | |
| query | No | Search query (Elasticsearch). A space means OR — matches pages with ANY term; write uppercase AND for all-terms (peper AND koffie). Also NOT, wildcards (* ?, including leading *schip), fuzzy ~N (the key tool for HTR/OCR spelling noise — coffij~1 over koffie), exact phrases in quotes, proximity ("phrase"~N). NB: opposite default from globalise_find_archival_documents (FTS5, where space = AND). Defaults to "*" (match everything) — combine with filters and size=1 to get aggregation statistics cheaply. | * |
| sortBy | No | Sort by: "_score" (relevance), "document" (doc ID), "invNr" (inventory). Default: "_score" | _score |
| yearTo | No | Latest year (inclusive); see yearFrom. Either bound may be given alone. | |
| matchAll | No | With 2+ languages: require pages to contain ALL of them (bilingual/multilingual). Post-filters the first 500 raw hits (one candidate window, independent of from/size); total is a lower bound unless the note says all candidates were scanned. | |
| yearFrom | No | Earliest year (inclusive) — resolved via the local archival index to the inventories whose finding-aid dates overlap the window, then applied as an inventory filter (intersecting any inventoryNumber/inventoryRange). Approximate: most inventories span 1-3 years, and the index dates ~4,981 of the corpus's ~6,890 inventories (the 9000-11024 Zeeland-copy series is largely unindexed), so pages in unindexed inventories are excluded — the note reports the resolved count. | |
| languages | No | Filter by language(s), as ISO 639-3 codes ("nld", "fas") or English names ("Dutch", "Persian"); mixing is fine. Default: documents matching ANY listed language. | |
| sortOrder | No | Sort order: "asc" or "desc" (default: "desc") | desc |
| fragmentSize | No | Max length (characters) of each highlighted snippet in highlightedFragments. Lower = smaller responses; higher = more context per hit. 20-500, default 200 (the upstream API default is 100). | |
| inventoryRange | No | Restrict to an inclusive span of inventory numbers, "A-B" (one or several). Expanded server-side, so a whole series is one filter: "1053-4454" = Overgekomen Brieven en Papieren (chronological, 1607-1794), "7527-11024" = Zeeland chamber copies. Lettered part-inventories (9014A) are not matched by a range — list them in inventoryNumber. | |
| inventoryNumber | No | Restrict to inventory number(s). Single: "9966" or multiple: ["9966", "4293"]. Unions with inventoryRange. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Caveats about how this result was computed — e.g. how an inventoryRange/year filter was resolved (and its coverage limit), a matchAll scan cap, or a size-cap that shortened snippets and/or dropped trailing results to fit the response budget (it then states how many of how many were kept and how to recover the rest). | |
| total | Yes | ||
| results | Yes | ||
| pagination | Yes | ||
| aggregations | No | Facet counts over the filtered result set. A facet for a field you are filtering ON is omitted (upstream computes self-facets without their own filter, i.e. as unfiltered corpus counts) — the note field says so when it happens. |