Class RecommendationsQuery


  • public class RecommendationsQuery
    extends Object
    • Constructor Detail

      • RecommendationsQuery

        public RecommendationsQuery​(@Nonnull
                                    String indexName,
                                    @Nonnull
                                    String model,
                                    @Nonnull
                                    String objectID)
        Recommendation query options.
        Parameters:
        indexName - name of the index to target.
        model - the recommendation model to use, on of: "related-products", or "bought-together"
        objectID - the objectID to get recommendations for