Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
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.