The samples in this section start out simple and become more sophisticated with each subsequent sample. In this way, the samples take you on an implementation journey, where each new samples refines the previous one.
Recommendation sample: finding items that resemble a given item The simplest possible use of the recommend parameter is to simply pass it the ID of an item. The query then searches for content that resembles the item, and ranks it according to how closely the content resembles the item.
Recommendation sample: excluding a scheme By not including a scheme in the concepts array of the recommend parameter, you can exclude that scheme from being used for recommendations.
Recommendation sample: broadening concepts The broadenBy parameter increases the number of recommendations that are returned by considering concepts on a higher level in the concept hierarchy.
Recommendation sample: recommend with no id but with only concepts To get recommendations without supplying an item of your own, create a query with no id parameter, only a concepts array. The resulting recommendations are ranked by how well they match the concepts provided, taking into account boosting and broadening.