aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/javacc
diff options
context:
space:
mode:
authorGeir Storli <geirst@verizonmedia.com>2019-02-13 15:28:53 +0100
committerGeir Storli <geirst@verizonmedia.com>2019-02-13 15:28:53 +0100
commit6ad708854c8b50b3c324575cfd227e64ad4fe8e9 (patch)
tree741d2ec3c36ea36e32c19987ac4d309d6fe131e2 /config-model/src/main/javacc
parenta95444bc86804cc3e0522902386890cf86870ef7 (diff)
Remove option to set tensor type on attribute as tensor type is always part of field type.
Diffstat (limited to 'config-model/src/main/javacc')
-rw-r--r--config-model/src/main/javacc/SDParser.jj4
1 files changed, 2 insertions, 2 deletions
diff --git a/config-model/src/main/javacc/SDParser.jj b/config-model/src/main/javacc/SDParser.jj
index 77214ce9cc1..291532ff958 100644
--- a/config-model/src/main/javacc/SDParser.jj
+++ b/config-model/src/main/javacc/SDParser.jj
@@ -1225,13 +1225,13 @@ Object attributeSetting(FieldOperationContainer field, AttributeOperation attrib
*/
Object attributeTensorType(AttributeOperation attribute) :
{
- String tensorTypeString;
TensorType tensorType;
}
{
tensorType = tensorType("For attribute field '" + attribute.getName() + "'")
{
- attribute.setTensorType(tensorType);
+ // TODO: Remove on Vespa 8
+ deployLogger.log(Level.WARNING, "In field '" + attribute.getName() + "': Specifying tensor type on the attribute is deprecated and has no effect.");
}
{ return null; }
}