public final class MultiRescorerProvider extends AbstractRescorerProvider
RescorerProviders.
 It will filter an item if any of the given instances filter it, and will rescore by applying
 the rescorings in the given order.MultiRescorer| Modifier and Type | Method and Description | 
|---|---|
Rescorer | 
getMostActiveUsersRescorer(List<String> args)  | 
Rescorer | 
getMostPopularItemsRescorer(List<String> args)  | 
Rescorer | 
getMostSimilarItemsRescorer(List<String> args)  | 
Rescorer | 
getRecommendRescorer(List<String> userIDs,
                    List<String> args)  | 
Rescorer | 
getRecommendToAnonymousRescorer(List<String> itemIDs,
                               List<String> args)  | 
static RescorerProvider | 
of(RescorerProvider... providers)  | 
public static RescorerProvider of(RescorerProvider... providers)
providers - RescorerProviders to aggregateRescorerProvider which combines the rescoring of the given implementationsIllegalArgumentException - if providers is empty or nullpublic Rescorer getRecommendRescorer(List<String> userIDs, List<String> args)
getRecommendRescorer in interface RescorerProvidergetRecommendRescorer in class AbstractRescorerProvideruserIDs - user(s) for which recommendations are being made, which may be needed
  in the rescoring logic.args - arguments, if any, that should be used when making the Rescorer.
  This is additional information from the request that may be necessary to its logic,
  like current location. What it means is up to the implementation.nullpublic Rescorer getRecommendToAnonymousRescorer(List<String> itemIDs, List<String> args)
getRecommendToAnonymousRescorer in interface RescorerProvidergetRecommendToAnonymousRescorer in class AbstractRescorerProvideritemIDs - items that the anonymous user is associated toargs - arguments, if any, that should be used when making the Rescorer.
  This is additional information from the request that may be necessary to its logic,
  like current location. What it means is up to the implementation.nullpublic Rescorer getMostPopularItemsRescorer(List<String> args)
getMostPopularItemsRescorer in interface RescorerProvidergetMostPopularItemsRescorer in class AbstractRescorerProviderargs - arguments, if any, that should be used when making the Rescorer.
  This is additional information from the request that may be necessary to its logic,
  like current location. What it means is up to the implementation.nullpublic Rescorer getMostActiveUsersRescorer(List<String> args)
getMostActiveUsersRescorer in interface RescorerProvidergetMostActiveUsersRescorer in class AbstractRescorerProviderargs - arguments, if any, that should be used when making the Rescorer.
  This is additional information from the request that may be necessary to its logic,
  like current location. What it means is up to the implementation.nullpublic Rescorer getMostSimilarItemsRescorer(List<String> args)
getMostSimilarItemsRescorer in interface RescorerProvidergetMostSimilarItemsRescorer in class AbstractRescorerProviderargs - arguments, if any, that should be used when making the Rescorer.
  This is additional information from the request that may be necessary to its logic,
  like current location. What it means is up to the implementation.nullCopyright © 2014–2018. All rights reserved.