RecommendedForYouQuery
algoliasearch.recommend.RecommendedForYouQuery
case class RecommendedForYouQuery(indexName: String, threshold: Option[Int], maxRecommendations: Option[Int], model: RecommendedForYouModel, queryParameters: Option[RecommendedForYouQueryParameters], fallbackParameters: Option[RecommendedForYouQueryParameters]) extends RecommendationsRequestTrait
RecommendedForYouQuery
Value parameters
- indexName
-
Algolia index name.
- maxRecommendations
-
Maximum number of recommendations to retrieve. If 0, all recommendations will be returned.
- threshold
-
Recommendations with a confidence score lower than
threshold
won't appear in results. > Note: Each recommendation has a confidence score of 0 to 100. The closer the score is to 100, the more relevant the recommendations are.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait RecommendationsRequestclass Objecttrait Matchableclass Any
Members list
In this article