Embedding a Search Index in a File
We’ll start with the simple case: Let’s create a search index for a single PDF file and arrange to have that index embedded in the file. Once we’re finished, every time you do an Advanced Search of that file, Acrobat will automatically use the embedded index.
It’s very easy to do:
- With the PDF file open, click the Manage Embedded Index button in the Document Processing panel of the Tools pane (Figure 1). Acrobat will open the Manage Embedded Index dialog box (Figure 2).
- Click the Embed Index button. Acrobat will build the index for the file and then embed it in the file. This can take a while; make some coffee and think long thoughts. Eventually, Acrobat will save the file, at which point you’re done.
Figure 1 The Manage Embedded Index tool in the Document Processing pane lets you create a search index for a single PDF document; the index is embedded in the PDF file.
Figure 2 The Manage Embedded Index is pretty darned simple to use; just click the Embed Index button and stand back.
That’s all there is to it. Acrobat will automatically use the embedded index whenever you perform an advanced search on that PDF file. The only grub in the peach is that the size of the file will increase by a noticeable amount; the PDF reference manual went from 32.7MB to 38.4MB. That’s fine by me; disk space is cheap.