How to Mark Metadata field as Non Searchable in AEM | Community
Skip to main content
Jul 20, 2018 3:59 AM UTC
Solved

How to Mark Metadata field as Non Searchable in AEM

Hi Experts,

We are implementing the AEM Assets for one our client. There is requirement to make some metadata fields as Non-Searchable. How we can configure the metadata field as Non searchable?

Thanks

Samer

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
edubey
edubeyAccepted solution
Level 10
Jul 23, 2018 5:22 PM UTC

4 replies

Jul 23, 2018 6:53 PM UTC

it works. Thanks Praveen and Kunwar.

Translate
smacdonald2008
Level 10
Jul 23, 2018 6:51 PM UTC

Nice responses Praveen and Kunwar! In addition - for more information about Oak Indexes - see this webinar -- Oak Lucene Indexes

Translate
edubey
edubeyAccepted solution
Level 10
Jul 23, 2018 5:22 PM UTC
Employee
Jul 20, 2018 1:22 PM UTC

You need to modify your index definition(say DamAssetLucene) to include an analyzer which would have a file which contains the stopwords. You can add all the metadata keywords in this file and after you reindex, fire the query you won't be able to query for such excluded keywords.

More information on how you can setup analyzers : Jackrabbit Oak – Lucene Index

Translate