To optimize the performance of your GraphQL filters, run a procedure to update your Content Fragments.
After updating your Content Fragments, you can follow the recommendations for Optimizing GraphQL Queries.
Ensure that you have a minimum of the 6.5.17.0 release of AEM.
To run the procedure, use the following steps:
Configure the OSGi settings for the Content Fragment Migration Job Configuration:
In the dialog, set these two parameters as follows:
1
1
Save the specifications - the update procedure starts.
Wait until the procedure is completed. The procedure is complete when the property cfGlobalVersion
appears on /content/dam
and is set to 1
.
Return to the OSGi configuration to deactivate the procedure.
In the dialog for the Content Fragment Migration Job Configuration set these two parameters as follows:
0
0
Be aware of the following limitations:
Optimization of the performance of GraphQL filters will only be possible after a complete update of all your Content Fragments (indicated by the presence of the cfGlobalVersion
property for the JCR node /content/dam
)
If Content Fragments are imported from a content package (using crx/de
) after the update procedure is run, then those Content Fragments will not be considered in the GraphQL query results, until the update procedure is executed again.