Try our conversational search powered by Generative AI!

Add search_after for better pagination of Episerver Find results



I noticed recently that ElasticSearch supports a search_after parameter to allow more consistent pagination of query results:

This effectively works by asking for a page worth of sorted results that come after a unique id (tiebreaker). This could be a page content ID in the case of Episerver.

This approach is more reliable that simply asking for a page worth of sorted results that come after some date & time field - because two documents can have the same date & time, which can result in duplicates appearing at the end and beginning of subsequent pages of results.

Can you please add this search_after option to the EpiServer Find client API? 


Cameron W

Nov 16, 2020 5:17
This thread is locked and should be used for reference only.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.