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
Solved! Go to Solution.
Views
Replies
Total Likes
You can use excludeFromAggregation
http://jackrabbit.apache.org/oak/docs/query/lucene.html#aggregation
Views
Replies
Total Likes
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
Views
Replies
Total Likes
You can use excludeFromAggregation
http://jackrabbit.apache.org/oak/docs/query/lucene.html#aggregation
Views
Replies
Total Likes
Nice responses Praveen and Kunwar! In addition - for more information about Oak Indexes - see this webinar -- Oak Lucene Indexes
Views
Replies
Total Likes
it works. Thanks Praveen and Kunwar.
Views
Replies
Total Likes