Package com.algolia.model.recommend
Class TrendingFacetsQuery
java.lang.Object
com.algolia.model.recommend.TrendingFacetsQuery
- All Implemented Interfaces:
RecommendationsRequest
TrendingFacetsQuery
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.algolia.model.recommend.RecommendationsRequest
RecommendationsRequest.Deserializer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanFacet name for trending models.Algolia index name.Maximum number of recommendations to retrieve.getModel()Get modelRecommendations with a confidence score lower than `threshold` won't appear in results.inthashCode()setFacetName(String facetName) setIndexName(String indexName) setMaxRecommendations(Integer maxRecommendations) setModel(TrendingFacetsModel model) setThreshold(Integer threshold) toString()
-
Constructor Details
-
TrendingFacetsQuery
public TrendingFacetsQuery()
-
-
Method Details
-
setIndexName
-
getIndexName
Algolia index name. -
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 -
setMaxRecommendations
-
getMaxRecommendations
Maximum number of recommendations to retrieve. If 0, all recommendations will be returned. -
setFacetName
-
getFacetName
Facet name for trending models. -
setModel
-
getModel
Get model -
equals
-
hashCode
public int hashCode() -
toString
-