Newer Version Available
Sites Class
Search an Experience Cloud site.
Namespace
Sites Methods
These methods are for Sites. All methods are
static.
searchSite(siteId, queryTerm, pageToken, pageSize, language)
Search an Experience Cloud site.
API Version
54.0
Available to Guest Users
54.0
Requires Chatter
No
Signature
public static ConnectApi.SiteSearchResult searchSite(String siteId, String queryTerm, String pageToken, Integer pageSize, String language)
Parameters
- siteId
- Type: String
- ID for the Experience Cloud site.
- queryTerm
- Type: String
- White-space separated words used to search for relevant content. Provide a maximum of 1024 characters, composed of up to 32 words and white spaces. Logical operators aren’t supported.
- pageToken
- Type: String
- Specifies the base64 encoded page token. Page tokens are returned as part of the response. If unspecified, the first page is returned.
- pageSize
- Type: Integer
- Specifies the number of items per page. Valid values are from 1 through 240. If you pass in null, the default size is 25.
- language
- Type: String
- Language locale for the context user. If unspecified or if the specified language locale isn’t available, the default value is en_US.