By default plugin will not work after upgrading to JIRA 8 or above. Jira JIRA 8 updated Lucence engine to version 7. Index format was changed and must be deleted and recreated.
Please check our guide to re-index your attachments: Configuration - Search Attachments.