Responds to a GET request to {@code /estimateForAnonymous/[toItemID]/[itemID1(=value1)](/[itemID2(=value2)]/...)}, and in turn calls {@link MyrrixRecommender#estimateForAnonymous(long,long[],float[])}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.
Unknown item IDs are ignored, unless all are unknown, in which case a {@link HttpServletResponse#SC_BAD_REQUEST} status is returned.
Outputs the result of the method call as a value on one line.
@author Sean Owen @since 1.0
|
|