Values.UpdateFeaturedResultsSetRequestSourceUpdates a set of featured results. Features results are placed above all other results for certain queries. You map specific queries to specific documents for featuring in the results. If a query contains an exact match of a query, then one or more specific documents are featured in the search results.
type nonrec t = {indexId : IndexId.t;The identifier of the index used for featuring results.
*)featuredResultsSetId : FeaturedResultsSetId.t;The identifier of the set of featured results that you want to update.
*)featuredResultsSetName : FeaturedResultsSetName.t option;A new name for the set of featured results.
*)description : FeaturedResultsSetDescription.t option;A new description for the set of featured results.
*)status : FeaturedResultsSetStatus.t option;You can set the status to ACTIVE or INACTIVE. When the value is ACTIVE, featured results are ready for use. You can still configure your settings before setting the status to ACTIVE. 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;A list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.
*)featuredDocuments : FeaturedDocumentList.t option;A list of document IDs for the documents you want to feature at the top of the search results page. For more information on the list of featured documents, see FeaturedResultsSet.
*)}val make :
?featuredResultsSetName:??? ->
?description:??? ->
?status:??? ->
?queryTexts:??? ->
?featuredDocuments:??? ->
indexId:IndexId.t ->
featuredResultsSetId:FeaturedResultsSetId.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `String of QueryText.t
| `Structure of (string * [> `String of DocumentId.t ]) list ]
list
| `String of IndexId.t ])
list ]