{"id":1973,"date":"2019-07-24T10:23:37","date_gmt":"2019-07-24T08:23:37","guid":{"rendered":"https:\/\/blog.kodono.info\/wordpress\/?p=1973"},"modified":"2019-08-20T09:40:30","modified_gmt":"2019-08-20T07:40:30","slug":"sharepoint-2013-search-rest-api-options","status":"publish","type":"post","link":"https:\/\/blog.kodono.info\/wordpress\/2019\/07\/24\/sharepoint-2013-search-rest-api-options\/","title":{"rendered":"SharePoint 2013 Search REST API options"},"content":{"rendered":"<p>Finding the documentation for the Search REST API of Sharepoint is difficult&#8230;. There is a very <a href=\"https:\/\/blogs.msdn.microsoft.com\/nadeemis\/2012\/08\/24\/sharepoint-2013-search-rest-api\/\">old blog post<\/a> that I&#8217;m going to replicate here to give more visibility:<\/p>\n<p>&nbsp;<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\"><strong><span style=\"text-decoration: underline;\">Location of the Search Rest service<\/span><\/strong><\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\">The Search REST service is located at the following URI: <a href=\"http:\/\/host\/site\/_api\/search\">http:\/\/host\/site\/_api\/search<\/a><\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\">&nbsp;<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\"><strong><span style=\"text-decoration: underline;\">The Search REST API<\/span><\/strong><\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\">The Search REST service exposed by the URI specified above provides the following methods or entry points:<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\">&nbsp;<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\">&nbsp;<\/p>\n<div style=\"direction: ltr;\">\n<table style=\"border: 1pt solid #a3a3a3; margin-left: 0.333in; border-collapse: collapse; direction: ltr;\" valign=\"top\" cellspacing=\"0\" cellpadding=\"0\" border=\"1\">\n<tbody>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; width: 0.837in; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\"><span style=\"font-weight: bold;\">query<\/span><\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; width: 2.709in; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\"><a href=\"http:\/\/host\/site\/_api\/search\/query\">http:\/\/host\/site\/_api\/search\/query<\/a><\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; width: 8.953in; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\">Supports HTTP Get&nbsp;and is used to retrieve search results.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; width: 0.837in; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\"><span style=\"font-weight: bold;\">postquery<\/span><\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; width: 2.709in; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\"><a href=\"http:\/\/host\/site\/_api\/search\/postquery\">http:\/\/host\/site\/_api\/search\/postquery<\/a><\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; width: 8.953in; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\">Supports HTTP POST and is used to retrieve search results. This method can be used to overcome URI length restrictions when using the HTTP GET based method &#8220;<span style=\"font-weight: bold;\">query<\/span>&#8220;.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; width: 0.837in; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\"><span style=\"font-weight: bold;\">suggest<\/span><\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; width: 2.709in; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\"><a href=\"http:\/\/host\/site\/_api\/search\/suggest\">http:\/\/host\/site\/_api\/search\/suggest<\/a><\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; width: 8.953in; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\">Supports HTTP GET and is used to retrieve query suggestions.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p style=\"margin: 0in 0in 0in 0.375in; font-family: Calibri; font-size: 11pt;\">&nbsp;<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\"><strong><span style=\"text-decoration: underline;\">Query Parameters<\/span><\/strong><\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\">The following table lists the query parameters available for the <span style=\"font-weight: bold;\">query <\/span>entry point:<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\">&nbsp;<\/p>\n<div>\n<table style=\"border: 1pt solid #a3a3a3; margin-left: 0.133in; border-collapse: collapse; direction: ltr;\" valign=\"top\" cellspacing=\"0\" cellpadding=\"0\" border=\"1\">\n<tbody>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; width: 0.837in; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\"><span style=\"font-weight: bold;\">Name<\/span><\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; width: 0.837in; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\"><span style=\"font-weight: bold;\">Description<\/span><\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; width: 0.837in; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\"><span style=\"font-weight: bold;\">Type<\/span><\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; width: 0.837in; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\"><span style=\"font-weight: bold;\">Default<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">querytext<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">The text of the&nbsp;search query.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">String &#8211; Maximum query text length allowed by the Keyword Query OM is 4096 characters.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 8pt;\">Empty<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/query?querytext=&#8217;search is cool&#8217;<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">querytemplate<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">The query template text.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">String<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 8pt;\">Empty<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">enableinterleaving<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies if the result sets which are generated by executing query rule actions to add result&nbsp; block should be mixed with the result set for the original query.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">bool<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 8pt;\">True<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/query?querytext=&#8217;terms&#8217;&amp;enableinterleaving=false<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">sourceid<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies the&nbsp;unique identifier of the Result Source to use for executing the search query.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">String<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 8pt;\">Empty<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/query?querytext=&#8217;term&#8217;&amp;sourceid=&#8217;8413cd39-2156-4e00-b54d-11efd9abdb89&#8242;<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">rankingmodelid<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">The GUID of the Rank Model to be used for this search query.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">String<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 8pt;\">Empty<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">startrow<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">A zero-based index of the first search result to be returned.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Integer [ &gt;= 0]<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 8pt;\">0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/query?querytext=&#8217;terms&#8217;&amp;startrow=11<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">rowlimit<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">The maximum number of search results to be returned, starting at the index specified in&nbsp; startrow.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Integer&nbsp;[ &gt;= 0]<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 8pt;\">10<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/query?querytext=&#8217;terms&#8217;&amp;startrow=11&amp;rowlimit=3<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">rowsperpage<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">The number of&nbsp;results to return per page.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Integer&nbsp;[ &gt;= 0]<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 8pt;\">0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">selectproperties<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies the list of managed properties to return for each search result item. For a managed property to be returned; the Retrievable flag must be set to &#8220;true&#8221; in the Search Schema.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">String<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 8pt;\">Empty<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/query?querytext=&#8217;terms&#8217;&amp;selectproperties=&#8217;Path,Url,Title,Author&#8217;<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">culture<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies the identifier of the language culture of the search query. If present, the value must be a valid LCID of a culture name. A list of LCIDs is available <a href=\"http:\/\/msdn.microsoft.com\/en-us\/goglobal\/bb964664.aspx\">here<\/a>.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Integer<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 8pt;\">-1<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/query?querytext=&#8217;terms&#8217;&amp;culture=1044<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">refiners<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies a list of refiners to return as a comma-separated list of strings.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">String<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 8pt;\">Empty<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/query?querytext=&#8217;terms&#8217;&amp;refiners=&#8217;companies,contentclass,ContentType,FileExtension,FileType&#8217;<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">refinementfilters<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">The list of refinement tokens for drilldown into search results. Refinement tokens are returned as part of the RefinementResults table for the search query.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">String<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Empty<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/query?querytext=&#8217;sharepoint&#8217;&amp;refiners=&#8217;filetype&#8217;&amp;refinementfilters=&#8217;filetype:equals(&#8220;pptx&#8221;)&#8217;<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">hiddenconstraints<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies additional query terms that will be appended to the query.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">String<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Empty<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/query?querytext=&#8217;terms&#8217;&amp;hiddenconstraints=&#8217;powerpoint&#8217;<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">sortlist<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies the list of properties to sort the search results by.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">String<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Empty<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/query?querytext=&#8217;terms&#8217;&amp;sortlist=&#8217;rank:ascending&#8217;<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">enablestemming<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies whether stemming is enabled for the query.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">bool<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">True<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/query?querytext=&#8217;terms&#8217;&amp;enablestemming=false<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">trimduplicates<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies whether duplicate items should be removed from search results. This property can also<br \/>&nbsp;be used to collapse hits in the result set.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">bool<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">True<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/query?querytext=&#8217;terms&#8217;&amp;trimduplicates=false<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">trimduplicatesincludeid<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies the value associated with a collapse group, typically used when a user clicks the duplicates link of an item with duplicates.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">long<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">0L<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/query?querytext=&#8217;terms&#8217;&amp;trimduplicates=true&amp;trimduplicatesincludeid=47<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">timeout<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies the amount of time, in milliseconds, before the query request times out.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Integer<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">30000<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/query?querytext=&#8217;terms&#8217;&amp;timeout=50000<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">enablenicknames<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies whether the exact terms in the search query are used to find matches, or if nicknames<br \/>&nbsp;are used as well.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">bool<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">False<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/query?querytext=&#8217;terms&#8217;&amp;enablenicknames=true<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">enablephonetic<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies whether the phonetic forms of the query terms are used to find matches.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">bool<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">False<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/query?querytext=&#8217;terms&#8217;&amp;enablephonetic=true<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">enablefql<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies whether the query string is according to the FAST Query Language (FQL) syntax.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Bool<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">False<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/query?querytext=&#8217;terms&#8217;&amp;enablefql=true<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">hithighlightedproperties<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies the list of properties to include in the HitHighlightedProperties for each result item.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">String<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Empty<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/query?querytext=&#8217;terms&#8217;&amp;hithighlightedproperties=&#8217;Title,Author&#8217;<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">bypassresulttypes<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies if the search result item type should be returned for the query results.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">bool<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">False<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">processbestbets<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies if the search promoted results should be returned, if available, as a result set.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">bool<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">True<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">clienttype<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Name of a client which issued query.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">String<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Empty<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">personalizationdata<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Gets or sets the unique identifier (GUID) for the current user who submitted the search query.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">String<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Empty<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">resultsurl<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies the URL for the page where the search results are going to be displayed.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">String<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Empty<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">querytag<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Any custom tags to be used to identify the query. Multiple tags are separated by semicolons.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">String<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Empty<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">enablequeryrules<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies if Query Rules are turned on for this query.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">bool<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">True<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/query?querytext=&#8217;terms&#8217;&amp;enablequeryrules=false<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">enablesorting<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Indicates whether results should be sorted.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">bool<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">True<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/query?querytext=&#8217;terms&#8217;&amp;enablesorting=false<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\">&nbsp;<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\">&nbsp;<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\"><strong><span style=\"text-decoration: underline;\">Suggest Parameters<\/span><\/strong><\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\">The following table lists the query parameters available from the suggest entry point:<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\">&nbsp;&nbsp;<\/p>\n<div style=\"direction: ltr;\">\n<table style=\"border: 1pt solid #a3a3a3; margin-left: 0.133in; border-collapse: collapse; direction: ltr;\" valign=\"top\" cellspacing=\"0\" cellpadding=\"0\" border=\"1\">\n<tbody>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; width: 0.837in; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\"><span style=\"font-weight: bold;\">Name<\/span><\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\"><span style=\"font-weight: bold;\">Description<\/span><\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; width: 0.837in; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\"><span style=\"font-weight: bold;\">Type<\/span><\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; width: 0.837in; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\"><span style=\"font-weight: bold;\">Default<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">querytext<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">The text of the search query.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">String<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Empty<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/suggest?querytext=&#8217;nad&#8217;<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">inumberofquerysuggestions<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">The number of query suggestions to retrieve.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Integer&nbsp;[ &gt; 0]<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">5<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/suggest?querytext=&#8217;nad&#8217;&amp;inumberofquerysuggestions=6<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">inumberofresultsuggestions<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">The number of personal results to retrieve.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Integer&nbsp;[ &gt; 0]<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">5<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/suggest?querytext=&#8217;nad&#8217;&amp;inumberofresultsuggestions=6<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">fprequerysuggestions<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies whether to retrieve pre-query suggestions or post-query suggestions.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">bool<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">False<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/suggest?querytext=&#8217;nad&#8217;&amp;fprequerysuggestions=true<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">fhithighlighting<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies whether the query suggestions should be highlighted. If &#8220;true&#8221;, the terms<br \/>&nbsp;in the returned query suggestions that match terms in the specified query are&nbsp; surrounded with &lt;B&gt; and &lt;\/B&gt; HTML tags.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">bool<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">True<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/suggest?querytext=&#8217;nad&#8217;&amp;fhithighlighting=true<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">fcapitalizefirstletters<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies whether to capitalize first letters in each term in query suggestions.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">bool<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">False<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/suggest?querytext=&#8217;nad&#8217;&amp;fcapitalizefirstletters=true<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">showpeoplenamesuggestions<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies if people names should be included in query suggestions.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">bool<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">False<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/suggest?querytext=&#8217;nad&#8217;&amp;showpeoplenamesuggestions=true<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">culture<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Specifies the identifier of the language culture of the search query. If present, the value must be a valid LCID of a culture name. A nice list of LCIDs is available <a href=\"http:\/\/msdn.microsoft.com\/en-us\/goglobal\/bb964664.aspx\">here<\/a>.<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">Integer<\/p>\n<\/td>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top;\">\n<p style=\"margin: 0in; font-family: Calibri; font-size: 9pt;\">-1<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 4pt; border: 1pt solid #a3a3a3; vertical-align: top; padding-bottom: 8pt;\" colspan=\"4\"><span style=\"color: #5499b9; text-decoration: underline;\">http:\/\/host\/site\/_api\/search\/suggest?querytext=&#8217;nad&#8217;&amp;culture=1044<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\">&nbsp;<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\">&nbsp;<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\">&nbsp;References:<\/p>\n<ul>\n<li>\n<div style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\"><a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/hh659202(office.12).aspx\">[MS-SRCHCSOM]: Search Client Query Protocol Specification<\/a><\/div>\n<\/li>\n<li>\n<div style=\"margin: 0in; font-family: Calibri; font-size: 11pt;\"><a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/jj163300(office.15).aspx\">Search in SharePoint 2013 on MSDN<\/a><\/div>\n<\/li>\n<\/ul>\n<h2>Examples<\/h2>\n<p>A <code>postquery<\/code> request will look like:<\/p>\n<pre class=\"brush\">\r\nPOST http:\/\/localhost\/_api\/search\/postquery HTTP\/1.1\r\nAccept: application\/json;odata=verbose\r\nContent-Type: application\/json;odata=verbose\r\nHost: localhost\r\nContent-Length: 419\r\n\r\n{\r\n\r\n 'request': {\r\n     'Querytext': 'sharepoint',\r\n     'StartRow':1,\r\n     'RowLimit':8,\r\n     'SelectProperties': {\r\n          'results': ['Title','ContentSource','DisplayAuthor']\r\n     },\r\n     'TrimDuplicates':true,\r\n     'Refiners':'companies,contentclass,ContentType(filter=7\/0\/*),FileExtension(filter=7\/0\/*),FileType(filter=6\/0\/*)',\r\n     'RefinementFilters': {'results': ['filetype:equals(\"pptx\")'] }\r\n  }\r\n}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Finding the documentation for the Search REST API of Sharepoint is difficult&#8230;. There is a very old blog post that I&#8217;m going to replicate here to give more visibility: &nbsp; Location of the Search Rest service The Search REST service is located at the following URI: http:\/\/host\/site\/_api\/search &nbsp; The Search REST API The Search REST [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","hide_page_title":"","footnotes":""},"categories":[170,33],"tags":[123,117],"class_list":["post-1973","post","type-post","status-publish","format-standard","hentry","category-english","category-programmation","tag-english","tag-sharepoint"],"_links":{"self":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts\/1973","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/comments?post=1973"}],"version-history":[{"count":6,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts\/1973\/revisions"}],"predecessor-version":[{"id":1986,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts\/1973\/revisions\/1986"}],"wp:attachment":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/media?parent=1973"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/categories?post=1973"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/tags?post=1973"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}