.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:Jean Paul       Posted Date: January 31, 2015    Points: 200    Category: SharePoint    URL: http://www.dotnetspark.com  

In this article we will explore what is Query Suggestion & How to configure it. I hope you enjoyed the piece of knowledge
 

What are Query Suggestions?

Query Suggestions are auto complete items dynamically displayed in the Search text box.  This helps the user from typing the complete text as well as find out relevant search phrases.  Usually, Query Suggestions are based on past phrases history but we can also configure Query Suggestions.

image

How to configure Query Suggestions?

Open Central Administration > Service Applications > Search Service Application

image

From the left hand side choose the Query Suggestions link.  You will get the following page.

Enable the Show check box and choose the Import from text file option.

image

You can create your own phrases text file based on the customer requirement. 

I am using a sample text file which provides phrases for California state.

image

Save the text file & assign it to the import area.

image

After importing click save settings in the Query Suggestions page.

Now we have set the phrases to Search Service > Query Suggestions.

Run Timer Job

The phrases need to be returned to the Search User Interface by running the following timer job. 

Open Central Administration > Monitoring > Job Definitions > Go to Page 2 > Prepare Query Suggestions

image

Click on the item and you will get the following page.

image

You can see that the timer is set for daily execution, but we need to choose Run Now option to get immediate results.

You can optionally use an IISRESET too.

Testing the Query

Open your SharePoint site & type California in the text box. Wati for 3-5 seconds & you should see the auto-suggestions listed.

image

This confirms the Query Suggestions configuration.

Connecting Query Suggestions with Promoted Results

In real-world scenarios you can connect Promoted Results key words to Query Suggestions.  This will give more assistance & relevant results to the users.

Excluding Phrases

You can also exclude phrases from the Query Suggestions page.

image

References

http://technet.microsoft.com/en-us/library/jj721441(v=office.15).aspx

Summary

In this article we have explored what is Query Suggestion & How to configure it.  I hope you enjoyed the piece of knowledge.


 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