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
Set up a query for each where you alter the the ancestors matching
query = query.Filter(x => x.Ancestors().Match(Section1.ID.ToString()));
You could then use the MultiSearch to send them all at ones to the index.
We've categorized our pages into a number of sections and would like to return the top 3 results for each section when searching, eg;
Section 1
- Section 1 result 1
- Section 1 result 2
- Section 1 result 3
Section 2
- Section 2 result 1
- Section 2 result 2
- Section 2 result 3
Section 3 etc..
How would we go about achieving this using EPiServer find?