Skip to main content
Level 3
Dec 17, 2015 5:44 PM UTC
Solved

Disable PDF Tika/Lucene Indexing in AEM6

Hi,

We are working on disabling PDF indexing with tika/lucene and cannot find a guide for AEM 6.0. Anyone able to explain how to do this?

Basically just need to be able to edit and get the instance to use a custom tika-config.xml

 

Thanks!

Alex

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
a_lex_Accepted solution
Level 3
Dec 17, 2015 6:50 PM UTC

Figured it out -

For anyone trying to do this: https://helpx.adobe.com/experience-manager/kb/how-to-optimize-lucene-index-to-gain-efficiency.html

Need to extract the tika-config.xml from the bundle .jar file, edit it, and merge the changed config file back in. They have an example config file on that page as well.

6 replies

a_lex_AuthorAccepted solution
Level 3
Dec 17, 2015 6:50 PM UTC

Figured it out -

For anyone trying to do this: https://helpx.adobe.com/experience-manager/kb/how-to-optimize-lucene-index-to-gain-efficiency.html

Need to extract the tika-config.xml from the bundle .jar file, edit it, and merge the changed config file back in. They have an example config file on that page as well.

Translate
smacdonald2008
Level 10
Dec 17, 2015 6:57 PM UTC

Thanks for posting you solution. Also note that anyone interested in a deeper understanding of Lucene Indexes - there will be a GEMs session on this in Jan . Sign up here: 

AEM Gems - APAC Q&A session - Oak Lucene Indexes

Translate
Level 8
Dec 17, 2015 7:09 PM UTC

Rather than doing that, you could potentially utilize the path field of the workflow launcher to prevent it from running.  Maybe try something like this:

/content/dam/(/.*/)renditions/original(?!\\.pdf)\\.+

I haven't verified that this would work, but it certainly would make more sense than extracting a jar, editing a config file etc etc.

Translate
Adobe Employee
Dec 18, 2015 9:03 PM UTC

Hi Alex,

did you get this to work? The reason I ask is that the article is written for AEM5.x/CRX2, so not sure it would still apply to AEM6. Might be worth raising a daycare ticket to find out if this is still supported.

Regards,

Opkar

Translate
a_lex_Author
Level 3
Dec 18, 2015 9:08 PM UTC

Opkar, please see my follow up above - it works

 

Thanks,

Alex

Translate
Adobe Employee
Dec 19, 2015 8:32 PM UTC

Hi Alex,

I saw your reply, I was just wondering if this is a supported configuration for AEM6, best to check with daycare. As it may cause issues if you deploy this in production and daycare say it is not a supported configuration.

Regards,

Opkar

Translate