diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-08-12 09:06:57 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-08-12 09:06:57 +0200 |
commit | 43597d9f7e1c65563d5fddcb13f66000ad98b9e6 (patch) | |
tree | 32c93f0d311839755f5549e8665a97030874e3f1 /config-model/src/main/java/com/yahoo/searchdefinition/fieldoperation | |
parent | 96d88f5e9273060bb8d264e2988cb854048cf1d6 (diff) |
Control swappable
Diffstat (limited to 'config-model/src/main/java/com/yahoo/searchdefinition/fieldoperation')
-rw-r--r-- | config-model/src/main/java/com/yahoo/searchdefinition/fieldoperation/AttributeOperation.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/config-model/src/main/java/com/yahoo/searchdefinition/fieldoperation/AttributeOperation.java b/config-model/src/main/java/com/yahoo/searchdefinition/fieldoperation/AttributeOperation.java index 56e241adb8e..8c6c9ecd696 100644 --- a/config-model/src/main/java/com/yahoo/searchdefinition/fieldoperation/AttributeOperation.java +++ b/config-model/src/main/java/com/yahoo/searchdefinition/fieldoperation/AttributeOperation.java @@ -18,9 +18,10 @@ public class AttributeOperation implements FieldOperation, FieldOperationContain private Boolean fastSearch; private Boolean fastAccess; private Boolean mutable; + private Boolean swappable; private Boolean enableBitVectors; private Boolean enableOnlyBitVector; - //TODO: Husk sorting!! + //TODO: Remember sorting!! private boolean doAlias = false; private String alias; private String aliasedName; @@ -73,6 +74,9 @@ public class AttributeOperation implements FieldOperation, FieldOperationContain public void setMutable(Boolean mutable) { this.mutable = mutable; } + public void setSwappable(Boolean swappable) { + this.swappable = swappable; + } public Boolean getEnableBitVectors() { return enableBitVectors; @@ -131,6 +135,9 @@ public class AttributeOperation implements FieldOperation, FieldOperationContain if (huge != null) { attribute.setHuge(huge); } + if (swappable != null) { + attribute.setSwappable(swappable); + } if (fastSearch != null) { attribute.setFastSearch(fastSearch); } |