{
// Set the lower bound for a range search.
// Use the ordering matching rule to normalize the value.
OrderingMatchingRule orderingRule =
filter.getAttributeType().getOrderingMatchingRule();
byte[] lower = orderingRule.normalizeValue(
filter.getAssertionValue().getValue()).toByteArray();
// Set the upper bound to 0 to search all keys greater then the lower
// bound.
byte[] upper = new byte[0];