AEM 6.5.12 | oak index issue | Community
Skip to main content
Level 3
September 29, 2022
Solved

AEM 6.5.12 | oak index issue

  • September 29, 2022
  • 1 reply
  • 1814 views

Hi Everyone,

 

After creating a few content fragment models we started getting the error: "The query read or traversed more than 100000 nodes. To avoid affecting other tasks, processing was stopped." wherever it checks the uniqueness of a property value in a Content Fragment as well as while creating a new Content Fragment model. I know, I can fix these issues by creating indexes but just checking here if I'm missing something.

 

Thanks.

Mukesh

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

uniqueness of a particular field as well as creating any new Content Fragment models.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by MukeshAEM

After installing the hotfix AEM Content Fragment with GraphQL Index Package 1.0.3 for AEM 6.5.12 my issue seems fixed. Wondering if I can install the latest service pack aem-service-pkg-6.5.14.0.zip to fix the issue instead of intermediate hotfix AEM Content Fragment with GraphQL Index Package 1.0.3 for AEM 6.5.12?

1 reply

DEBAL_DAS
New Member
September 29, 2022

I believe you have noticed that error message in error.log file.

If yes, then please check whether you are seeing any query like the below one in error.log file -

query=select [jcr:path], [jcr:score], * from [dam:Asset] as a where [jcr:content/contentFragment] = 'true' and [jcr:content/data/cq:model] = '/conf/we-retail/settings/dam/cfm/models/debal-cf-model-three' and isdescendantnode(a, '/content/dam') option(index tag [fragments]) /* xpath: /jcr:root/content/dam//element(*, dam:Asset)[(jcr:content/@contentFragment = 'true' and jcr:content/data/@cq:model = '/conf/we-retail/settings/dam/cfm/models/debal-cf-model-three')] option (index tag fragments) */, path=/content/dam//*, property=[:indexTag=[fragments], jcr:content/contentFragment=[true], jcr:content/data/cq:model=[/conf/we-retail/settings/dam/cfm/models/debal-cf-model-three]]); consider creating an index or changing the query

 

Please share that query.

 

Are you getting that error message with any specific CF model?

Debal Das, Senior AEM Consultant
MukeshAEMAuthor
Level 3
September 29, 2022

Hi @debal_das , yes. I was seeing such queries in the error.log file and based on that created the indexes to fix the issue. I also received the same error while creating the new Content Fragment Model and query associated is this one: 

select [jcr:path], [jcr:score], * from [dam:Asset] as a where [jcr:content/contentFragment] = 'true' and [jcr:content/data/cq:model] = '/conf/aem-common/settings/dam/cfm/models/testing-model' and isdescendantnode(a, '/content/dam') option(index tag [fragments])
MukeshAEMAuthorAccepted solution
Level 3
September 29, 2022

After installing the hotfix AEM Content Fragment with GraphQL Index Package 1.0.3 for AEM 6.5.12 my issue seems fixed. Wondering if I can install the latest service pack aem-service-pkg-6.5.14.0.zip to fix the issue instead of intermediate hotfix AEM Content Fragment with GraphQL Index Package 1.0.3 for AEM 6.5.12?