SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We are working with Fast Search for Sharepoint 2010 and had some backend setup done with creating some managed properties e.g. BestBetDescription, keywords etc.

From the front-end part we are creating an application what will fetch all these properties and display in a grid.

However while querying the backend we are NOT getting these managed properties (BestBetDescription) along with other properties such as Title, URL etc.

Following is my source code:

 settingsProxy = SPFarm.Local.ServiceProxies.GetValue<SearchQueryAndSiteSettingsServiceProxy>();
 searchProxy = settingsProxy.ApplicationProxies.GetValue<SearchServiceApplicationProxy>("FAST Query SSA");
 keywordQuery = new KeywordQuery(searchProxy);
 keywordQuery.EnableFQL = true;
 keywordQuery.QueryText = p;
 keywordQuery.ResultsProvider = SearchProvider.FASTSearch;
 keywordQuery.ResultTypes = ResultType.RelevantResults;
 ResultTableCollection resultsTableCollection = keywordQuery.Execute();
 ResultTable searchResultsTable = resultsTableCollection[ResultType.RelevantResults];
 DataTable resultsDataTable = new DataTable();
 resultsDataTable.TableName = "Results";
 resultsDataTable.Load(searchResultsTable, LoadOption.OverwriteChanges);
 return resultsDataTable;

The results are returned and I cannot see the Managed properties which we create in the resultDataTable.

Is there any property I missed or is this a backend issue ?


share|improve this question
up vote 1 down vote accepted

You're not setting KeywordQuery.SelectProperties

share|improve this answer
Thanks a lot.. Per..!! this worked very well...!! Thanks again..!! – Amin Sayed Apr 5 '12 at 12:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.