From 5783df40a392b2c5d365bef8e5fd9cd1a717e2fb Mon Sep 17 00:00:00 2001 From: Jon Marius Venstad Date: Fri, 21 May 2021 13:51:39 +0200 Subject: Cache badges for 1 minute --- document/src/main/java/com/yahoo/document/DataType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'document/src') diff --git a/document/src/main/java/com/yahoo/document/DataType.java b/document/src/main/java/com/yahoo/document/DataType.java index 104d63cae96..fd7ccfc5e96 100644 --- a/document/src/main/java/com/yahoo/document/DataType.java +++ b/document/src/main/java/com/yahoo/document/DataType.java @@ -54,7 +54,7 @@ public abstract class DataType extends Identifiable implements Serializable, Com public final static NumericDataType BYTE = new NumericDataType("byte", 16, ByteFieldValue.class, ByteFieldValue.getFactory()); public final static PrimitiveDataType PREDICATE = new PrimitiveDataType("predicate", 20, PredicateFieldValue.class, PredicateFieldValue.getFactory()); public final static int tensorDataTypeCode = 21; // All TensorDataType instances have id=21 but carries additional type information serialized separately - // ADDITIONAL parametrized types added at runtime: map, struct, array, weighted set, annotation reference, tensor + // ADDITIONAL parametrized types added at runtime: map, struct, array, weighted set, annotation reference, tensor // Tags are converted to weightedset when reading the search definition TODO: Remove it public final static WeightedSetDataType TAG = new WeightedSetDataType(DataType.STRING, true, true); -- cgit v1.2.3