SearchResults.php is returning 500 error from elastic indexed records

Using elasticsearch , one of the Custom module does not Use NAME field. Thus Name column values are blank and i don’t see that indexed too, via kibana. So when searching that module, it returns 500 error. The problem is at the line

When i comment the Link line, it returns all the records for search correctly. Is the Search Return using NAME column as a Must or Hard Coded field to make a Link for the Returned Records ?