public class Biasing
extends java.lang.Object
A biasing profile defined at query time.
+
Created by groupby on 1/12/16.| Constructor and Description |
|---|
Biasing() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Bias> |
getBiases() |
java.util.List<java.lang.String> |
getBringToTop() |
java.lang.Float |
getInfluence() |
boolean |
isAugmentBiases() |
Biasing |
setAugmentBiases(boolean augmentBiases)
Set whether the biases defined should override or augment the biases
defined in Command Center
|
Biasing |
setBiases(java.util.List<Bias> biases)
Set the list of biases
|
Biasing |
setBringToTop(java.util.List<java.lang.String> bringToTop)
A list of product IDs to bring to the top of the result set. |
Biasing |
setInfluence(java.lang.Float influence)
Set the influence of the biases. |
public java.util.List<java.lang.String> getBringToTop()
public Biasing setBringToTop(java.util.List<java.lang.String> bringToTop)
A list of product IDs to bring to the top of the result set. This list
will ensure that the products are included in the result set and appear in the order
defined.
bringToTop - The list of productIds.public boolean isAugmentBiases()
public Biasing setAugmentBiases(boolean augmentBiases)
Set whether the biases defined should override or augment the biases
defined in Command Center
augmentBiases - True to augment biases, false otherwisepublic java.util.List<Bias> getBiases()
public Biasing setBiases(java.util.List<Bias> biases)
Set the list of biases
biases - The biasespublic java.lang.Float getInfluence()
public Biasing setInfluence(java.lang.Float influence)
Set the influence of the biases.
influence - The influence of the biases.Copyright © 2013–2016 GroupBy Inc.. All rights reserved.