Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

How to Mark Metadata field as Non Searchable in AEM

Avatar

Former Community Member

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

1 Accepted Solution

Avatar

Correct answer by
Level 10
4 Replies

Avatar

Employee

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

Avatar

Correct answer by
Level 10

Avatar

Level 10

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