Responds to a GET request to {@code /recommendToAnonymous/[itemID1(=value1)](/[itemID2(=value2)]/...)?howMany=n[&rescorerParams=...]}, and in turn calls {@link MyrrixRecommender#recommendToAnonymous(long[],float[],int,IDRescorer)}with the supplied values. That is, 1 or more item IDs are supplied, which may each optionally correspond to a value or else default to 1. If howMany is not specified, defaults to {@link AbstractMyrrixServlet#DEFAULT_HOW_MANY}.
Unknown item IDs are ignored, unless all are unknown, in which case a {@link HttpServletResponse#SC_BAD_REQUEST} status is returned.
Outputs item/score pairs in CSV or JSON format, like {@link RecommendServlet} does.
@author Sean Owen @since 1.0
|
|