.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Articles >> SharePoint >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Query Suggestions in SharePoint

Posted By:Lakshmanan       Posted Date: April 27, 2014    Points: 200    Category: SharePoint    URL: http://www.dotnetspark.com  

Query Suggestions are an interesting feature within the SharePoint 2013 search function that provides type-ahead suggestions for users when submitting a query
 

Query Suggestions are an interesting feature within the SharePoint 2013 search function that provides type-ahead suggestions for users when submitting a query. For example, if you begin by typing "c" then SharePoint might suggest "c sharp corner". It's almost similar to Google search or you can say the auto-complete feature.

SharePoint automatically creates a query suggestion when users have clicked a search result for a query at least six times. Yeah six times!! For example, if users have entered the query word "ice cream" and then clicked on a search result six times, then "ice cream" automatically becomes a query suggestion.

You can also create query suggestions explicitly. In this article I'll use a simple example to show how you can do that. 

Step 1: Login into SharePoint online environment as a site collection admin.

Navigate to Search Administration.

Navigate to Search Administration

Step 2:
  1. Ensure that the Show Search suggestion is checked on.
  2. Click Import from text File

Search suggestion 
Step 3:
 Open Notepad and type whatever you want to appear as query suggestions. Kindly ensure that you save it in UTF -8 Format.

UTF -8 Format 

Step 4: Choose Browse and Select the file and Click Ok.
 
Browse and Select the file

Step 5: Create a New Search Center site as follows.
 
New Search Center site

Step 6: Enterprise Search Center will be generated automatically.
 
Enterprise Search Center

Step 7: Since I'm setting up a SharePoint Online Environment I have delayed the preparation of the query suggestion job to run and the see the query suggestions based on our input file.
 
SharePoint Online Environment 
SharePoint Online Environment  
SharePointv

 Subscribe to Articles

     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend