Package com.algolia.model.recommend
Class TrendingFacetsQuery
java.lang.Object
com.algolia.model.recommend.TrendingFacetsQuery
TrendingFacetsQuery
-
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
-
setFacetName
-
getFacetName
Facet name for trending models.- Returns:
- facetName
-
setModel
-
getModel
Get model- Returns:
- model
-
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
-