I have a requirement that needs to get particular item along with all child item or some of the child item using template id from solr searchresultitem. Can anyone help how to achieve this?
1 Answer
So what you want to do is:
var parent = searchResultItem.GetItem();
var children = item.Children.Where(c => c.TemplateID == SOME_TEMPLATE_ID);