Package com.algolia.model.recommend
Class BaseRecommendRequest
java.lang.Object
com.algolia.model.recommend.BaseRecommendRequest
BaseRecommendRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndex name.Maximum number of recommendations to retrieve.Get queryParametersMinimum score a recommendation must have to be included in the response.inthashCode()setIndexName(String indexName) setMaxRecommendations(Integer maxRecommendations) setQueryParameters(SearchParams queryParameters) setThreshold(Double threshold) toString()
-
Constructor Details
-
BaseRecommendRequest
public BaseRecommendRequest()
-
-
Method Details
-
setIndexName
-
getIndexName
Index name. -
setThreshold
-
getThreshold
Minimum score a recommendation must have to be included in the response. minimum: 0 maximum: 100 -
setMaxRecommendations
-
getMaxRecommendations
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. minimum: 1 maximum: 1000 -
setQueryParameters
-
getQueryParameters
Get queryParameters -
equals
-
hashCode
public int hashCode() -
toString
-