In search results, if I change the sort order, the results counts are changing. But the results count should not change when we change the sort order.So can anyone say why this happens in sharepoint and how to resolve it.

1 Answer 1


The count returned for search results is not an accurate number. That is why it says "About X results". Every time you change pages, the query is executed and SharePoint takes another guess at how many results are found, even though the query has not changed.

Take a look here.

On each post back, search API’s are called by OOB search results pagination controls and SharePoint returns different search counts for same query.

A possibile solution is described here: to replace one of the display templates with a custom one, which uses client side caching to store the search results count of the first page and use it for the remaining pages.

  • I have the results counts similar in all sort orders and even after moving to other pages.But the problem is the results count shows "About 89 results" and the actual result is 112. What changes should be made in display template? @ gio
    – NivethaSri
    Commented Jan 23, 2017 at 6:14
  • A possibile solution is described here: sharepointexcellence.com/2014/03/…
    – gio
    Commented Jan 23, 2017 at 10:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.