Package com.algolia.model.recommend
Class TrendingItemsQuery
java.lang.Object
com.algolia.model.recommend.TrendingItemsQuery
TrendingItemsQuery
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanFacet name for trending models.Facet value for trending models.Get fallbackParametersAlgolia index name.Maximum number of recommendations to retrieve.getModel()Get modelGet queryParametersRecommendations with a confidence score lower than `threshold` won't appear in results.inthashCode()setFacetName(String facetName) setFacetValue(String facetValue) setFallbackParameters(SearchParamsObject fallbackParameters) setIndexName(String indexName) setMaxRecommendations(Integer maxRecommendations) setModel(TrendingItemsModel model) setQueryParameters(SearchParamsObject queryParameters) setThreshold(Integer threshold) toString()
-
Constructor Details
-
TrendingItemsQuery
public TrendingItemsQuery()
-
-
Method Details
-
setFacetName
-
getFacetName
Facet name for trending models.- Returns:
- facetName
-
setFacetValue
-
getFacetValue
Facet value for trending models.- Returns:
- facetValue
-
setModel
-
getModel
Get model- Returns:
- model
-
setQueryParameters
-
getQueryParameters
Get queryParameters- Returns:
- queryParameters
-
setFallbackParameters
-
getFallbackParameters
Get fallbackParameters- Returns:
- fallbackParameters
-
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
-