aboutsummaryrefslogtreecommitdiffstats
path: root/container-search
diff options
context:
space:
mode:
Diffstat (limited to 'container-search')
-rw-r--r--container-search/src/main/java/com/yahoo/prelude/query/Item.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/container-search/src/main/java/com/yahoo/prelude/query/Item.java b/container-search/src/main/java/com/yahoo/prelude/query/Item.java
index 578adaaeaf9..f43b55424e6 100644
--- a/container-search/src/main/java/com/yahoo/prelude/query/Item.java
+++ b/container-search/src/main/java/com/yahoo/prelude/query/Item.java
@@ -261,6 +261,7 @@ public abstract class Item implements Cloneable {
buffer.put(type);
if (code >= CODE_MASK) {
+ // This is an extension to the serialization to work around original 5 bits limit for code
buffer.put((byte) (code - CODE_MASK));
}
if ((type & FEAT_WEIGHT) != 0) {