Parent-Child Document Relationships
Attivio can return parent-child document relationships.
This information comes back from the engine in this format:
documents: [
{
fields: {
id: ["1234"],
...
},
children: [
{
fields: {
id: ["5678"],
...
}
},
...
]
}
These relationships are processed by the Appkit framework. For each Appkit result
, you can access a list of related
results (the children) in a JSP page as follows:
{{result.related}}
Or you can directly plug a single related result into a Appkit result-list
:
<search:result-list results="result.related"></search:result-list>