Index and generate thumbnails from PDF