diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2018-05-27 11:31:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-27 11:31:48 +0200 |
commit | d418eaf692ad0950fd41ac91248738893c7b02a4 (patch) | |
tree | b136939a0ec773ea9a533b339f2868a8c830e90c /config-model/src/main/java/com/yahoo/searchdefinition/document | |
parent | c1b5e51d5a122dcfcb7a4481e91f58224490833d (diff) |
Revert "Support that array of struct field is derived into array attributes."
Diffstat (limited to 'config-model/src/main/java/com/yahoo/searchdefinition/document')
-rw-r--r-- | config-model/src/main/java/com/yahoo/searchdefinition/document/Attribute.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/config-model/src/main/java/com/yahoo/searchdefinition/document/Attribute.java b/config-model/src/main/java/com/yahoo/searchdefinition/document/Attribute.java index 81e44850e71..f932265cb93 100644 --- a/config-model/src/main/java/com/yahoo/searchdefinition/document/Attribute.java +++ b/config-model/src/main/java/com/yahoo/searchdefinition/document/Attribute.java @@ -147,12 +147,6 @@ public final class Attribute implements Cloneable, Serializable { this.referenceDocumentType = referenceDocumentType; } - public Attribute convertToArray() { - Attribute result = clone(); - result.collectionType = CollectionType.ARRAY; - return result; - } - /** * <p>Returns whether this attribute should be included in the "attributeprefetch" summary * which is returned to the Qrs by prefetchAttributes, used by blending, uniquing etc. @@ -187,7 +181,6 @@ public final class Attribute implements Cloneable, Serializable { public long upperBound() { return upperBound; } public double densePostingListThreshold() { return densePostingListThreshold; } public Optional<TensorType> tensorType() { return tensorType; } - public Optional<StructuredDataType> referenceDocumentType() { return referenceDocumentType; } public Sorting getSorting() { return sorting; } |