Attachment is being deprecated in Salesforce Lightning Experience. Attachments from Salesforce Classic won’t be available in Salesforce Lightning Experience Search Result.
Reference Article:
To automatically convert files attached in Salesforce Classic as Files and not as Attachments, enable “Files uploaded to the Attachments related list on records are uploaded as Salesforce Files, not as attachments”. This is available in Salesforce Setup –> Customize –> Salesforce Files –> Settings –> General Settings.
Reference Article:
To migrate Notes and Attachments from Classic to Lightning, use Magic Mover.
Reference Article: