Confluence REST Connector 25.2
Confluence REST Connector Help

# Use Document Metadata to Navigate Between Items

The connector adds metadata to each document describing the path and ID of its parent item. This means that if you query your Content component and your search returns a page from Confluence, you can use the metadata to retrieve the parent space or page, and search for any child pages, attachments, and comments.

The connector adds the following metadata fields to each document:

`id` | An identifier for the item.
`PARENT_ID` | An identifier for the item's parent.
`PARENT_HIERARCHY` | The position of the parent item in the Confluence hierarchy. This field contains a colon-separated list of IDs. For example, an attachment might have a `PARENT_HIERARCHY` that includes a space and a page:
    #DREFIELD PARENT_HIERARCHY="SPACE:262146"

After your documents have been ingested you might search your text index and find a document that represents a page in Confluence. The document might have the following metadata fields:

    #DREFIELD id="262146"
    #DREFIELD PARENT_HIERARCHY="SPACE"
    #DREFIELD PARENT_ID="SPACE"

You might want to see the documents that this page is associated with. You can retrieve the parent item using the value from the `PARENT_ID` field:

    action=Query&FieldText=MATCH{SPACE}:id

To find child items, you can take the item's own ID and perform a search against the `PARENT_ID` field of other documents, for example:

    action=Query&FieldText=MATCH{262146}:PARENT_ID

Copyright 2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Confluence REST Connector 25.2

Topic Title: Use Document Metadata to Navigate Between Items