With the changes to the Search API the elasticsearch documents no longer contain ancestors, descendants, immediate_ancestors, or immediate_descendants. We will now have to call the Entity API to get this information:
ancestors => /ancestors/
descendants => /descendants/
immediate_ancestors => /parents/
immediate_descendants => /children/
I think this should live inside EntityContext but there may be a better location.
Anywhere in the code the uses data.ancestors, etc.. will have to be changed to use the results of these endpoints instead (e.g. metadata section)
With the changes to the Search API the elasticsearch documents no longer contain
ancestors
,descendants
,immediate_ancestors
, orimmediate_descendants
. We will now have to call the Entity API to get this information:ancestors
=> /ancestors/descendants
=> /descendants/immediate_ancestors
=> /parents/immediate_descendants
=> /children/I think this should live inside
EntityContext
but there may be a better location.Anywhere in the code the uses
data.ancestors
, etc.. will have to be changed to use the results of these endpoints instead (e.g. metadata section)