SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been trying to figure out how to display (somewhat like Google) how many items the Sharepoint search-engine is searching amongst, and display it next to the search-field.

Does anyone know how to do this - or maybe have some tips to point me in the right direction ?

Thanks in advance

share|improve this question
up vote 3 down vote accepted

Out-of-the-box - just by using the User Interface (e.g. Web Parts) i don't believe is possible particularly for large result sets (you will always get a "estimative" count of RESULTS - see here for more details -

On the other hand, you could see as part of the Search Scope how many items are included, or via SP-CA how many have been crawled.

Programatically however you could very easily reach your current Search Scope total results (or Shared Scopes) or even the Search Service Application data and create a simple web part (or extend the out-of-the-box CoreSearchResults) to display such information.

share|improve this answer
That certainly helps me. TotalRows is probably what I need. – CodeMonkey Jun 9 '12 at 20:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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