if (stopPosition.isMinimum())
{
stop = null;
}
boolean includeLower = includeLower(startPosition.kind());
boolean includeUpper = includeUpper(stopPosition.kind());
Log.debug("Filtering %s %d, %d %s", includeLower ? "[" : "(", start, stop, includeUpper ? "]" : ")");
return NumericRangeFilter.newLongRange(FIELD_NAME, start, stop, includeLower, includeUpper);
}
/**