Example document
- Last Updated: May 5, 2026
- 1 minute read
- MarkLogic Server
- Documentation
Note:
These steps assume you have set up a FastTrack-enabled search application using the steps in Create a search application.
This is an example document from Create a search application:
{ "envelope": {
"entityType": "person",
"id": 1001,
"firstName": "Nerta",
"lastName": "Hallwood",
"title": "Marketing Manager",
"status": "active",
"dob": "1985-03-04",
"salary": 104000,
"address": {
"street": "40 Summer Ridge Point",
"city": "Cincinnati",
"state": "Ohio",
"country": "United States",
"latitude": 39.1848,
"longitude": -84.3448
},
"image": "person-1001.jpg",
"content": "And this, our life, exempt from public haunt, finds tongues in trees, books in the running brooks, sermons in stones, and good in everything.",
"relations": [
{
"triple": {
"subject": "http://example.org/1001",
"predicate": "http://xmlns.com/foaf/0.1/knows/",
"object": {
"datatype" : "http://www.w3.org/2001/XMLSchema#string",
"value":"1002"
}
}
},
{
"triple": {
"subject": "http://example.org/1001",
"predicate": "http://xmlns.com/foaf/0.1/knows/",
"object": {
"datatype" : "http://www.w3.org/2001/XMLSchema#string",
"value":"1003"
}
}
}
]
}
}