RelatedQuery

algoliasearch.recommend.RelatedQuery
case class RelatedQuery(indexName: String, threshold: Double, maxRecommendations: Option[Int], queryParameters: Option[SearchParams], model: RelatedModel, objectID: String, fallbackParameters: Option[FallbackParams]) extends RecommendationsRequestTrait

RelatedQuery

Value parameters

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.

objectID

Unique record identifier.

threshold

Minimum score a recommendation must have to be included in the response.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product