Was there any existing way to manage or create the custom index in AEM and how do we add anew metadata filed to index?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
For creating and managing custom queryIndexDefinition you can refer the documentation.
For reference, when you want to add custom index into a definition for a new metadata field :
1. Goto /oak:index/<customIndexDefinition>/indexRules/cq:Page/properties/
2. Create a new nt:unstructured node by the name of the new field to be indexed (like pageTitle)
3. Save node
4. Add properties to node -> (name, String, jcr:content/<fieldName>) (propertyIndex, Boolean, true)
5. Save all and goto /oak:index/<customIndexDefinition>
6. Set reindex property to true and save.
The pages would be indexed wrt new metadata field.
Please refer the below url
Thanks
For creating and managing custom queryIndexDefinition you can refer the documentation.
For reference, when you want to add custom index into a definition for a new metadata field :
1. Goto /oak:index/<customIndexDefinition>/indexRules/cq:Page/properties/
2. Create a new nt:unstructured node by the name of the new field to be indexed (like pageTitle)
3. Save node
4. Add properties to node -> (name, String, jcr:content/<fieldName>) (propertyIndex, Boolean, true)
5. Save all and goto /oak:index/<customIndexDefinition>
6. Set reindex property to true and save.
The pages would be indexed wrt new metadata field.
Views
Likes
Replies
Views
Like
Replies