support search by interval