ConnectApi.SearchRequest

Search request input for searching an object.

PropertyTypeDescriptionRequired or OptionalAvailable Version
qStringQuery term to search on. Query term must be two or more characters.Required63.0
configurationNameStringName of the search configuration to apply. Look up search configuration names from Search Manager.Optional63.0
dataCategoriesList<ConnectApi.​SearchData​Category>List of data categories to filter.Optional63.0
displayFieldsList<String>List of fields to display and return in the search results. By default, the fields displayed are defined by the search layout.Optional63.0
filtersList<ConnectApi.​SearchFilter>List of filters to apply.Optional63.0
highlightsBooleanSpecifies whether search generates a text highlight (true) or not (false). The default value is false.Optional63.0
offsetIntegerSearch page offset position. Default value is 0, which indicates displaying results from the beginning without skipping any entries.Optional63.0
orderByList<ConnectApi.​SearchOrderBy>Order by input for object search.Optional63.0
pageSizeIntegerNumber of results in a page. Valid values are from 1 through 1999. If unspecified the default value is 20.Optional63.0
spellcheckBooleanSpecifies whether search should apply spellcheck (true) or not (false). The default value is true.Optional63.0

See Also