-
Notifications
You must be signed in to change notification settings - Fork 1
Document Model
Christopher Hanna Johnson edited this page Nov 17, 2018
·
1 revision
The elasticsearch document model is very simple and follows this structure for all indices:
{
"_index": "hvd1",
"_type": "_doc",
"_id": "9eea0fbc-cbef-462b-a1fa-3dff6a11905c",
"_score": 1,
"_source": {
"thumbnail": "https://ids.lib.harvard.edu/ids/iiif/18759412",
"Medium": "Set of nine printed handscrolls (one missing); ink on paper",
"Classification": "Prints",
"Credit Line": "Harvard Art Museums/Arthur M. Sackler Museum, Bequest of the Hofer Collection of the Arts of Asia",
"Dimensions": "H. 30.1 cm (11 7/8 in.)",
"Object Number": "1985.478.8",
"title": "Printed Life of Kôbô Daishi (Kôya Taishi gyôjô zue), Vol. 8",
"Date": "Momoyama period, 16th-17th century",
"manifest": "https://iiif.harvardartmuseums.org/manifests/object/141923"
}
}
The required fields are thumbnail
, title
and manifest
.
All other fields are metadata that is mapped to the interface display using a static mapping to schema.org terms
Facets, highlights and suggestions are defined per Collection Route. See Collections for details.