RecommendationsQuery
algoliasearch.recommend.RecommendationsQuery
case class RecommendationsQuery(model: RecommendationModels, objectID: String, queryParameters: Option[SearchParamsObject], fallbackParameters: Option[SearchParamsObject], indexName: String, threshold: Option[Int], maxRecommendations: Option[Int]) extends RecommendationsRequestTrait
RecommendationsQuery
Value parameters
- indexName
-
Algolia index name.
- maxRecommendations
-
Maximum number of recommendations to retrieve. If 0, all recommendations will be returned.
- objectID
-
Unique object identifier.
- 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