SuggestionsURLSuggestionsURL

SuggestionsURL设置指定的 URL 可以通过使用基于 XML 的搜索中检索的建议。The SuggestionsURL setting specifies the URL where suggestions can be retrieved by using a search based on XML.

请注意  若要使用基于 JavaScript 对象表示法 (JSON) 的搜索指定搜索建议,请使用SuggestionsURL_JSON改为设置。Note   To specify search suggestions by using a search based on JavaScript Object Notation (JSON), use the SuggestionsURL_JSON setting instead.

有关创建搜索作用域的信息,请参阅搜索提供程序可扩展性For information on creating Search Scopes, see Search Provider Extensibility.

Values

URLURL

指定可以通过使用基于 XML 的搜索中检索搜索建议的 URL。Specifies the URL where search suggestions can be retrieved by using a search based on XML.

URL是一个字符串。URL is a string.

有效配置阶段Valid Configuration Passes

专用化specialize

父层次结构Parent Hierarchy

Microsoft-Windows-IE-InternetExplorer | SearchScopes | Scope | SuggestionsURLMicrosoft-Windows-IE-InternetExplorer | SearchScopes | Scope | SuggestionsURL

适用于Applies To

有关受支持的 Windows 版本和体系结构,该组件支持的列表,请参阅Microsoft Windows IE InternetExplorerFor a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-IE-InternetExplorer.

XML 示例XML Example

以下 XML 输出显示了如何指定通过使用基于 XML 的搜索提供搜索建议的 URL。The following XML output shows how to specify a URL to provide search suggestions by using a search based on XML.

<SearchScopes>
   <Scope wcm:action="add">
      <ScopeDisplayName>MySecondSearchProvider</ScopeDisplayName>
      <ScopeKey>SearchProvider2</ScopeKey>
      <ScopeUrl>http://search.fabrikam.com/results.aspx?q=&quot;{searchTerms}&quot;</ScopeUrl>
      <SuggestionsURL>http://suggestions.fabrikam.com/qsml.aspx?query={searchTerms}</SuggestionsURL>
   </Scope>
</SearchScopes>

Microsoft-Windows-IE-InternetExplorerMicrosoft-Windows-IE-InternetExplorer

SuggestionsURL_JSONSuggestionsURL_JSON