public XContentBuilder field(String fieldName, Integer fieldValue) throws IOException {
        if (fieldValue != null) {
            json.writeNumberField(fieldName, fieldValue);
        }
        return this;
    }
@param fieldName
@param fieldValue
@throws IOException
manager/api/es/src/main/java/io/apiman/manager/api/es/util/XContentBuilder.java