Sdílet prostřednictvím


Adding Query Suggestions to FAST 2010 for SharePoint 2010

One of the really cool new features of SharePoint 2010 and Enterprise search is to easily add Query Suggestions so that when users start to type their query they will get a drop down below the search box with suggestion that they can click on to instantly issue the query to the search engine.  

The first thing I want to do is check is what Query Suggestion might already be associated with my FAST Query Search Service Application. To do that I’ll run the following command from the SharePoint 2010 Management Shell:

image

If you have not added any before this should return no results.  I can also verify this by going to my FAST Search Center and typing in a key word. In our sample here I will type Adatum as our keyword:

image

Now lets go and add Adatum as a query suggestion to our FAST Query Service Application. Again, from the SharePoint 2010 Management Shell I type in the following commands:

image

In order for the Query Suggestion to show up immediately we will need to execute the timer job “Prepare query suggestions”.

image

Now we can go back to our FAST Search Center and start typing Adatum into the search box we will see that the Query Suggestion we just added now appears.

image