How to index the PDF documents

You also asked in IIndexing PDF and Image documents. Let's keep the discussion in one single place.