TrendingItemsQuery
algoliasearch.recommend.TrendingItemsQuery
case class TrendingItemsQuery(indexName: String, threshold: Double, maxRecommendations: Option[Int], queryParameters: Option[SearchParams], facetName: String, facetValue: String, model: TrendingItemsModel, fallbackParameters: Option[SearchParamsObject]) extends RecommendationsRequestTrait
TrendingItemsQuery
Value parameters
- facetName
-
Facet attribute. To be used in combination with
facetValue
. If specified, only recommendations matching the facet filter will be returned. - facetValue
-
Facet value. To be used in combination with
facetName
. If specified, only recommendations matching the facet filter will be returned. - indexName
-
Index name (case-sensitive).
- maxRecommendations
-
Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
- threshold
-
Minimum score a recommendation must have to be included in the response.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait RecommendationsRequestclass Objecttrait Matchableclass Any
Members list
In this article