add keywordSearch function to get an entity by keyword