TrendingFacetsQuery
algoliasearch.recommend.TrendingFacetsQuery
case class TrendingFacetsQuery(indexName: String, threshold: Double, maxRecommendations: Option[Int], queryParameters: Option[SearchParams], facetName: Any, model: TrendingFacetsModel, fallbackParameters: Option[FallbackParams]) extends RecommendationsRequestTrait
TrendingFacetsQuery
Value parameters
- facetName
-
Facet attribute for which to retrieve trending facet values.
- 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