public String toString() {
        return new StringBuilder("span [").append(from).append(',').append(getTo()).append('>').toString();
    }
NOTE: DO NOT USE. Should only be used by {@link com.yahoo.document.serialization.SpanNodeReader}.
@param length the length value to set
document/src/main/java/com/yahoo/document/annotation/Span.java