Add new search method 'getSearchPatternWithNode'