public static StringValue frozen(String value) {
        StringValue stringValue=new StringValue(value);
        stringValue.freeze();
        return stringValue;
    }
Create a string value which is frozen at the outset.
searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/evaluation/StringValue.java