Package com.algolia.model.recommend
Class BaseRecommendRequest
java.lang.Object
com.algolia.model.recommend.BaseRecommendRequest
BaseRecommendRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAlgolia index name.Maximum number of recommendations to retrieve.Recommendations with a confidence score lower than `threshold` won't appear in results.inthashCode()setIndexName(String indexName) setMaxRecommendations(Integer maxRecommendations) setThreshold(Integer threshold) toString()
-
Constructor Details
-
BaseRecommendRequest
public BaseRecommendRequest()
-
-
Method Details
-
setIndexName
-
getIndexName
Algolia index name.- Returns:
- indexName
-
setThreshold
-
getThreshold
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. minimum: 0 maximum: 100- Returns:
- threshold
-
setMaxRecommendations
-
getMaxRecommendations
Maximum number of recommendations to retrieve. If 0, all recommendations will be returned.- Returns:
- maxRecommendations
-
equals
-
hashCode
public int hashCode() -
toString
-