public void addAnnotation(String key, Object value) {
        if (annotations == null)
            annotations = new CopyOnWriteHashMap<>();
        annotations.put(key, value);
    }
Annotate this item

@param key the annotation key
@param value the value, or null to set a valueless annotation
container-search/src/main/java/com/yahoo/prelude/query/Item.java