public Set<String> types() {
        if (types == null)
            types = new ArraySet<>(1);
        return types;
    }
Returns the types of this as a modifiable set. Modifications to this set are directly reflected in this hit
container-search/src/main/java/com/yahoo/search/result/Hit.java