Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Customize search result

  Asked By: Beth    Date: Aug 10    Category: Sharepoint    Views: 1333

Many experts in this discussion forum must have
experience in customizing SPS search result.

The knowledge I am looking for is how to modify the
search results display.

The SPS search default display is something like that:
More than 40 results returned, showing items 1 - 40,
sorted by Relevance, grouped by Site.

The Next link at the bottom leads you to the next 40

I don't know who in Microsoft designed this. But many
people would rather see a search result like this:
A total of 378 results returned, showing items 1 - 40,
sorted by Relevance, grouped by Site. In another word,
we like to see the total hits up front, and a
configurable number of items displayed each time.

We can modify the search results web part property and
specify the maximum number of items to display (I
believe the limit is 1000). This helps. But how about
total number?

It seems that I have to override the search results
web part:

Does anyone know what properties are there for me to
modify the result Display Text and the total number of



7 Answers Found

Answer #1    Answered By: Hans Weiss     Answered On: Aug 10

You should look at Ontolica, http://www.ontolica.com. It comes with web part that allows to customize  search dialog and results

Answer #2    Answered By: Alison West     Answered On: Aug 10

But for now, I am looking for a simple web part
overwrite solution, not a third party product.

Answer #3    Answered By: Freddy Heath     Answered On: Aug 10

The reason that the total  hits aren’t returned  is because it would be resource intensive to get a complete listing. It’s designed specifically not to get you a complete list. You can override it but you shouldn’t.

Answer #4    Answered By: Joanna Dixon     Answered On: Aug 10

Did you suggest that the number of hits is not
available when the first page of search  result is

Find the first 40 matches, display  the results, find
second 40 matches and display them?

Would you elaborate a little bit?

Answer #5    Answered By: Damon Garner     Answered On: Aug 10

To know there was a hit, SharePoint actually has to get the hit. It has to actually search  through things to get the result. At that point you’ve consumed all of the effort of going through the entire list – most people don’t go through all of the search results  they only go through the first few pages. So walking through the entire catalog set to get 1000 entries when people only use 40 is expensive from a processing perspective.

Most search engines give you ESTIMATES of the number of total  hits. That’s why it can vary when you start paging through the results.

You can set the window larger and say … “Displaying 1-40 of over 200 hits” in this case you open the window to 200 hits and only display  the first 40. If I remember correctly there used to be a UI limit of 200 total results. (It may have been SPS 2001)

Answer #6    Answered By: Sharonda Mcfarland     Answered On: Aug 10

The ESTIMATES is exactly what I am looking for. Where
do you get the ESTIMATES? How would you do that then
"Displaying 1-40 of over 200 hits"? Can you configure
that, or have to override the search  results web part?

BTW, I believe SPS 2003 you can set the maximum to

Answer #7    Answered By: Cory Brooks     Answered On: Aug 10

You’ll have to use a tool like Ontolica or code it by hand. The OOB implementation allows you only to control the number of results  returned.

BTW – My example was to say that it would only show you to the number of results you requested in my example 200 is not an ESTIMATE of the number of the results, it’s an assurance that there are AT LEAST 200 results because two hundred were brought back from the web service but only the first 40 were displayed.

Didn't find what you were looking for? Find more on Customize search result Or get search suggestion and latest updates.