link search with core data