Query modification
There is a query being run when assets are updated that is taking a long time as the number of assets increases. The query isn't in any of the code that I manage so I believe it is in some of the standard Adobe workflow code. How do I fix the performance?
The query being run is:
XPATH /jcr:root/content/dam/images//element(*, nt:unstructured)[fn:name() = 'metadata' and @itemNumber = 'some_item_number']
I've added an oak index for the itemNumber where the propertyNames = itemNumber, reindex = false, reindexCount = 3, and type = property. When I run the query analysis, it says it isn't using any indexes. The client is using AEM to warehouse and manage images for their production web services. Therefor, there is a huge catalogue of images and performance gets worse and worse as they upload images. I'd like to get this to where I can get the index to work and make the system much more efficient. Image processing goes from taking a few minutes to days in a hurry.
Thanks in advance.