docs: private BytesRef computeMaximumFilteredPayload(String value, BytesRef payload,
        String filter) {
      // do magic with filter
      if (value != null) {
        if (payload != null) {
          Float payloadFloat = PayloadHelper.decodeFloat(payload.bytes,
              payload.offset);
          Float valueFloat = Float.parseFloat(value);
          return new BytesRef(
              PayloadHelper.encodeFloat(Math.max(payloadFloat, valueFloat)));
        } else {
          return new BytesRef(PayloadHelper.encodeFloat(Float.parseFloat(value)));
        }
      } else {
        return payload;
      }
    }