Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Search WebParts in SharePoint 2010
1. Out of Box Search Web Parts for SharePoint
2010
By
Milan Chauhan
Sharepointzone.blogspot.in
@chauhanmilan
1
4/22/2012
2. List of Search Web parts
Search Box People Search Box
Advanced Search Box People Search Core Results
Search Core Results People Refinement Panel
Search Paging Search Best Bets
Search Statistics Search Visual Best Bets
Search summary Federated Results
Search Action Links Top Federated Results
Refinement Panel Dual Chinese Search
Related Queries
2
4/22/2012
3. Search Box
• Displays search box which allows user to search information
• Search based on scopes
• Search box also shows search suggestions
• Default search is using browser.
• Multilingual search can be configured through “Preferences”
• User can configure advance search page
3
4/22/2012
4. Advanced Search Box
• Displays parameterized search options based on properties and
combinations of words
• Helps to create query based on including all the words, any of words or non
of words.
• Show/Hide sections of this web part based on requirement.
4
4/22/2012
5. Search Core Results
• Shows the search results, metadata and URLs.
• Includes description of results also known as snippet.
• Results layout can be modified using XSLT.
• This web part can be inherited to create custom web part.
5
4/22/2012
6. Search Paging
• Display links for navigating pages containing search results.
• User can configure :
• Maximum pages links from current page
• Minimum page links after current
• Previous link text label
• Previous link image url
• Next link image url
6
4/22/2012
7. Search Statistics
• Displays the search statistics such as the number of results shown on the
current page, total number of results and time taken to perform the search
• User can configure to show number of results on page, total number of
results, search response time and latency traces for debug
7
4/22/2012
9. Search Action Links
• Shows search action links on search page
• Allows users to click on hyperlinks in the results set such as RSS or alert
me.
9
4/22/2012
10. Refinement Panel
• It helps users to refine search results.
• Also add custom refiners based on managed metadata property
10
4/22/2012
11. Related Queries
• Provides a list of links to queries similar to the keywords or phrases
entered in the search box
• Search term will be added as suggestion if it is used more than 6 times.
• Timer job does the processing.
Reference image taken from Mikael Svenson blog. He is MVP, consultant
and author of Microsoft Fast search book.
11
4/22/2012
12. People Search Box
• Allows users to search for the peoples
• Metadata property for user will be search.
12
4/22/2012
13. People Search Core Results
• Displays the people search results and the properties associated with them.
• Results are displayed in xslt format
• Modify xslt for change render format of the results.
13
4/22/2012
14. People Refinement Panel
• This web part is similar to Refinement Panel web part
• This web part renders on left hand side of the search page
• It helps users to refine search results.
• Also add custom refines based on managed metadata property
14
4/22/2012
15. Search Best Bets
• Displays high-confidence results on a search results page
• Add Best bets keywords at Site Collection level
15
4/22/2012
16. Search Visual Best Bets
• Its feature of FS4SP.
• Displays high-confidence visual results on a search results page
• Results could be also html page, picture and videos
https://www.nothingbutsharepoint.com/sites/eusp/Pages/Display-a-Web-Part-as-a-Visual-Best-Bet-
in-FAST-Search-Server-2010-for-SharePoint.aspx
16
4/22/2012
17. Federated Results
• Returns search results from federated search locations for the provided
search query
• Works with all search products
• Federated Connectors are required to fetch results from federated location.
• Available connectors are
17
4/22/2012
18. Top Federated Results
• Purpose of this Web Part is to provide quick results if local search do not
result results.
• Displays top federated results from configured location
• It allows user to configure Results in order to be displayed
• Results from highest priority are displayed first
• Location will be check one by one in order.
18
4/22/2012
19. Dual Chinese Search
• Searches for content in dual Chinese Language
• Chinese Language pack is needed to get it worked
19
4/22/2012