Not able to open Content Fragment Model
Hello All,
I am not able to open my content fragment model to edit. Getting below mentioned error. Any help in this case?
Hello All,
I am not able to open my content fragment model to edit. Getting below mentioned error. Any help in this case?
Hello @mahesh_gunaje,
The error says that AEM could not find a suitable index for the content fragment model and so it fell back to traverse node-by-node. Traversing is the last step that AEM takes when it cannot find an index to use, and it is very costly performance wise.
The error also provides the next steps to create an index matching the query path:
consider creating an index or changing the query
It also mentions that it stopped processing to avoid harm or slowing down AEM:
The query read or traversed more than 500000 nodes.
To avoid affecting other tasks, processing was stopped.
select [jcr:path], [jcr:score],
* from [dam:Asset] as a where [jcr:content/contentFragment] = 'true' and [jcr:content/data/cq:model] =
'/conf/abc/settings/dam/cfm/models/my-model' and isdescendantnode(a, '/content/dam') option(index tag [fragments])
Please refer to this Adobe documentation section on index creation,
thanks,
Preetpal
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.