includedObjs()

The CMS objects that were included in this search.

Copy
facets = Scrivito.getClass("BlogPost").where('tags', 'contains', 'design').facet('tags', { includeObjs: 5 });
firstObj = facets[0].includedObjs()[0];
firstObj.get("title");

If you haven't specified includeObjs in your facet options, an empty array is returned. The resulting Objs are ordered by relevance.

Returns

Array<Obj>