Virtual Happy Hour canceled for Friday May 31st.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour canceled for Friday May 31st.
Hi Sonya,
You should use pagination by using .Take and .Skip function but if you want all the results then you can pass item number in.Take function
var query = SearchClient.Instance.Search<PageData>()
.Take(1000);
var batch = query.GetContentResult();
And if you want all the results then you can refer to this -
http://joelabrahamsson.com/retrieve-full-result-set-with-episerver-find/
var results = _searchClient.Search<T>().GetPagesResult();
Returns 10 items but there's 137.....how can I get all 137?