diff options
author | Jon Bratseth <bratseth@oath.com> | 2018-07-06 13:17:25 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@oath.com> | 2018-07-06 13:17:25 +0200 |
commit | 99228d5d9bfa7aea7472895e9c5c959d9b5fba1b (patch) | |
tree | 5f43cc8eca80da69ffd865fe0fba50de5b9eef2f /config-model | |
parent | a2a175887d62296af5051a07f0c1dd36cc07c4b0 (diff) |
Import bound functions separately
Diffstat (limited to 'config-model')
-rw-r--r-- | config-model/src/main/java/com/yahoo/searchdefinition/RankProfile.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config-model/src/main/java/com/yahoo/searchdefinition/RankProfile.java b/config-model/src/main/java/com/yahoo/searchdefinition/RankProfile.java index a69c524e863..5855dedc415 100644 --- a/config-model/src/main/java/com/yahoo/searchdefinition/RankProfile.java +++ b/config-model/src/main/java/com/yahoo/searchdefinition/RankProfile.java @@ -932,8 +932,8 @@ public class RankProfile implements Serializable, Cloneable { public static class Macro implements Serializable, Cloneable { private final String name; - private String textualExpression=null; - private RankingExpression expression=null; + private String textualExpression = null; + private RankingExpression expression = null; private List<String> formalParams = new ArrayList<>(); /** True if this should be inlined into calling expressions. Useful for very cheap macros. */ @@ -998,6 +998,7 @@ public class RankProfile implements Serializable, Cloneable { } public static final class DiversitySettings { + private String attribute = null; private int minGroups = 0; private double cutoffFactor = 10; |