diff --git a/docs/API/search.md b/docs/API/search.md index 486b6fff..45d0ae7e 100644 --- a/docs/API/search.md +++ b/docs/API/search.md @@ -119,13 +119,13 @@ You can use the `random_seed` parameter to retrieve random content objects. The Index boosting allows you to prioritize results from specific indices when performing searches across multiple content types (CTDs). This feature increases the score of results from certain indices based on user-defined weights, which is useful when some CTDs are more relevant than others. -Query format: -Pass the `indices_boost` parameter in your query to boost specific CTDs: +!!! Example + Pass the `indices_boost` parameter in your query to boost specific CTDs: -``` -/api/v1/search?indices_boost[ctd1Name]=2&indices_boost[ctd2Name]=1.5 -``` -{ data-search-exclude } + ``` + /api/v1/search?indices_boost[ctd1Name]=2&indices_boost[ctd2Name]=1.5 + ``` + { data-search-exclude } -* ctd1Name, ctd2Name – names of the CTDs. -* 2, 1.5 – boost values (higher means more weight) + * ctd1Name, ctd2Name – names of the CTDs. + * 2, 1.5 – boost values (higher means more weight)