Values.FeaturedResultsSetSourceA set of featured results that are displayed at the top of your search results. Featured results are placed above all other results for certain queries. If there's an exact match of a query, then one or more specific documents are featured in the search results.
type nonrec t = {featuredResultsSetId : FeaturedResultsSetId.t option;The identifier of the set of featured results.
*)featuredResultsSetName : FeaturedResultsSetName.t option;The name for the set of featured results.
*)description : FeaturedResultsSetDescription.t option;The description for the set of featured results.
*)status : FeaturedResultsSetStatus.t option;The current status of the set of featured results. When the value is ACTIVE, featured results are ready for use. You can still configure your settings before setting the status to ACTIVE. You can set the status to ACTIVE or INACTIVE using the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured results set for each index, whether the status is ACTIVE or INACTIVE.
*)queryTexts : QueryTextList.t option;The list of queries for featuring results. Specific queries are mapped to specific documents for featuring in the results. If a query contains an exact match, then one or more specific documents are featured in the results. The exact match applies to the full query. For example, if you only specify 'Kendra', queries such as 'How does kendra semantically rank results?' will not render the featured results. Featured results are designed for specific queries, rather than queries that are too broad in scope.
*)featuredDocuments : FeaturedDocumentList.t option;The list of document IDs for the documents you want to feature at the top of the search results page. You can use the Query API to search for specific documents with their document IDs included in the result items, or you can use the console. You can add up to four featured documents. You can request to increase this limit by contacting Support. Specific queries are mapped to specific documents for featuring in the results. If a query contains an exact match, then one or more specific documents are featured in the results. The exact match applies to the full query. For example, if you only specify 'Kendra', queries such as 'How does kendra semantically rank results?' will not render the featured results. Featured results are designed for specific queries, rather than queries that are too broad in scope.
*)lastUpdatedTimestamp : Long.t option;The Unix timestamp when the set of featured results was last updated.
*)creationTimestamp : Long.t option;The Unix timestamp when the set of featured results was created.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `String of QueryText.t
| `Structure of (string * [> `String of DocumentId.t ]) list ]
list
| `Long of Long.t
| `String of FeaturedResultsSetId.t ])
list ]