search function and recipe index file