300301302303304305306307308
RangeConditionBuilder rangeCondition = range("name").lower(1) .upper(2) .includeLower(true) .includeUpper(false) .boost(0.5f); SearchBuilder searchBuilder = query(rangeCondition); testJsonCondition(searchBuilder); }