Class TrendingFacetsQuery

java.lang.Object
com.algolia.model.recommend.TrendingFacetsQuery

public class TrendingFacetsQuery extends Object
TrendingFacetsQuery
  • Constructor Details

    • TrendingFacetsQuery

      public TrendingFacetsQuery()
  • Method Details

    • setFacetName

      public TrendingFacetsQuery setFacetName(String facetName)
    • getFacetName

      @Nonnull public String getFacetName()
      Facet name for trending models.
    • setModel

      public TrendingFacetsQuery setModel(TrendingFacetsModel model)
    • getModel

      @Nullable public TrendingFacetsModel getModel()
      Get model
    • setIndexName

      public TrendingFacetsQuery setIndexName(String indexName)
    • getIndexName

      @Nonnull public String getIndexName()
      Algolia index name.
    • setThreshold

      public TrendingFacetsQuery setThreshold(Integer threshold)
    • getThreshold

      @Nullable public Integer 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

      public TrendingFacetsQuery setMaxRecommendations(Integer maxRecommendations)
    • getMaxRecommendations

      @Nullable public Integer getMaxRecommendations()
      Maximum number of recommendations to retrieve. If 0, all recommendations will be returned.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object