Inline search method.