2

Does anyone have a detailed description/documentation on Microsoft.SharePoint.Search.Query.KnownTableTypes?

I'm wondering why every "How to use a KeywordQuery in code"-article on the web just uses "KnownTableTypes.RelevantResults" and what the differences to the other TableTypes are:

ResultTableCollection rtc = searchExecutor.ExecuteQuery(keywordQuery);
var tables = rtc.Filter("TableType", KnownTableTypes.RelevantResults);
var result = tables.FirstOrDefault();

The coresponding MSDN article is pretty featureless ... at least for me.

1

You can look at page 91 of the MS-Search pdf protocol spec for KeywordQuery. This lists some of but not all the known table types for SP2013. Apparently, there is not an updated version of this document for SP2013 yet.

http://msdn.microsoft.com/en-us/library/cc313119(v=office.12).aspx

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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