@Override
    public LongBucket copy() {
        return new LongBucket(getLabel(), getLevelOrNull(), getFrom().copy(), getTo().copy());
    }
Constructs a new instance of this class.

@param from          The from-value to assign to this.
@param to            The to-value to assign to this.
container-search/src/main/java/com/yahoo/search/grouping/request/LongBucket.java