Each item contains the semantic match and the relevant document it belongs to.

{"text":"Pump installation\nFollow these 15 steps:\n ...","document":{"id":1234},"locations":[{"page_number":3,"left":68.78,"right":478.56,"top":75.04,"bottom":386.1},{"page_number":4,"left":68.78,"right":478.56,"top":75.04,"bottom":386.1}]}
interface DocumentPassagesSearchItem {
    document: PassageDocument;
    locations: DocumentPassageLocation[];
    text: string;
}

Properties

document: PassageDocument

A document

text: string

The text representing the document passage that was related to your search query.