I’ve used TExtract Indexing Software for years. It works from a PDF.
My particular workflow involves Scrivener for writing, Adobe InDesign for print-book layout and export to PDF, and TExtract to build the index. I then add the index to the book via InDesign and export it to the final PDF.