My 2p about ERP Solutions, Information Worker Solutions and other software products (mainly Microsoft Dynamics AX and Microsoft SharePoint).

16 November 2008

Disable view duplicates search functionality

by Patrik Luca 2 comments

Tag



Business requirement: Disable view duplicates search functionality


When performing a search query in SharePoint, the search results group duplicate search results by default.

For me it is unclear which criteria make SharePoint think some search results are duplicates for each other, and hence make SharePoint group them together as one search result. This can be pretty confusing, as end-users not always are finding back everything because some stuff is hidden away in such a grouped search result. For example, ungrouping the above search result reveals following hidden search results:


For me, these files shouldn't be grouped together as duplicates in the search results: these files are financial reports for different quarters. The filename as the title of these files are different, nevertheless SharePoint groups these files as duplicates in the search results. End-users not so familiar with SharePoint may overlook the View duplicates link in the search results: as such they may start complaining that they don't find some files they've uploaded before (f.e. here: they may complain they don't find the financial report for Q3-04).

Solution: Disable view duplicates search functionality


To fix this, just disable the view duplicates search functionality.

  1. Execute a search on whatever word, so you are directed to the search results page (by default results.aspx)
  2. Choose Site Actions -> Edit Page.
  3. Choose Modify Shared Web Part on the Search Core Results Web Part.
  4. Uncheck the checkbox Remove Duplicate Results.



  5. Choose OK and Publish the page.

Search results viewed as duplicates won't be grouped anymore by SharePoint. If you have different search results pages, you'll have to modify the Web Part on each page.

Comments 2 comments
Anonymous said...

I did all that you described and I am still not receiving duplicates when they are stored on a file server that we are indexing with MOSS 2007 Enterprise Search. The file types are different (.htm vs. doc) but the content is exactly the same. We need these results to come back since we use search for data consistency and compare. Any thoughts?

Patrik Luca said...

My post describes how to disable the duplicates functionality, not how to force that SharePoint groups some fields together in the search results. Anyway, I don't think it is possible to force SharePoint search engine that it groups together files, as this is based on some kind of algorithm in the search engine itself: see also Some interesting facts about SharePoint 2007 Search.

Patrik Luca, Ieper, BELGIUM
Feel free to use or spread all of the content on my blog. In return, linking back to my blog would be greatly appreciated. All my posts and articles are provided "AS IS" with no warranties.

Subscribe feeds via e-mail
Subscribe in your preferred RSS reader

Subscribe feeds rss Most Read Entries

Subscribe feeds rss Recent Entries

Categories

Recommended Books


Subscribe feeds rss Recent Comments

This Blog is part of the U Comment I Follow movement in blogosphere. Means the comment field of this blog is made DOFOLLOW. Spam wont be tolerated.

Live Traffic Feed

Recent Visitors

Blog Archive

My Blog List

Followers

Guest Links