November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
AFAIK type in index already has partent chain path with ids - but for denormalization you can try to include StartPgeId field or so in indexable fields.
SearchClient.Instance.Conventions.ForInstancesOf<PageData>().IncludeField(x => x.StartPageId());
..
public static string StartPageId(this PageData content)
{
// travel by ParentLink to find top most parent (StartPage) or fetch StartPage from repository directly
}
Then you can use this field to query for content for specific site.
How do I fetch what startpage (in a multisite) a document belongs to?.
I want to index all mediadata with its belonging startpage id so that I can filter this site per site.