One-dimensional search method