array range search predicate