private FieldPart createToken(String substring, boolean isToken) {
        if (xmlProperty) {
            // TODO: Model this with something better than ImmutableFieldPart
            return new ImmutableFieldPart(substring, isToken);
        } else {
            return new StringFieldPart(substring, isToken);
        }
    }
Creates a hit field

@param fieldname The field name
@param content The field content
@param cjk true if the content is CJK text
@param xmlProperty true if this should not quote XML syntax
container-search/src/main/java/com/yahoo/prelude/hitfield/HitField.java