Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I need to create an index in Umbraco 8 in order to be able to search on PDF files.
I was able to create a new index without ExamineIndex.config the way it was mentioned in this post (thank you Ole Martin Bakke).
But there is no way to use PDFIndexer because it seems to be missing from Umbraco 8 despite the documentation. Also the UmbracoCms.UmbracoExamine.PDF nuget depends on UmbracoCms.Core (>= 6.0.0 && < 8.0.0).
Is there any other way for someone to index PDFs?
Thank you in advance!
We are about to go live in 30 days on the new version of v8 of the great Umbraco!!!
We need to have the ability to search PDFs, however in v8 I can't get it to work. In v7 it was a piece of cake.
Does anyone have a solution for this quite yet?
It's possible to write your own index behaviour for PDF's which can then add the data to an examine index. I've done this recently for v8 and based my code heavily off of the CogWorks v7 package for indexing PDF's (and other documents).
The CogWorks project is here: https://github.com/thecogworks/examinefileindexer/tree/master/src/Cogworks.ExamineFileIndexer but as I mention its an Umbraco v7 package.
If you look at their MediaParser class you can see the code for extracting the data from media files, then it's a case of hooking into examine events and calling them.
To do this, you'll need a custom composer and component through which you'll hook into the TransformingIndexValues event to do the additional work.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted