Importing indexes in new NEO v3.5.18

I am upgrading NEO version from 2.1.7 to 3.5. For transferring data from old version to new I am using APOC import command. I have lots of indexes and I need to export/import them as well so I don't have to create indexes manually after transferring data. Is there any easy way of doing it? Thanks!