Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

On AEM 6.5 adding an index does not let translation projects to start

Avatar

Level 4

While running some Translation projects, AEM logs reported "consider creating an index or changing the query".

We added an Index (oak:index) as below:

Screen Shot 2023-01-05 at 1.45.10 PM.png

 

But adding this Index is causing the Translation jobs to fail ("failed to start translation").

Screen Shot 2023-01-05 at 2.20.32 PM.png

Logs showing as: 

java.lang.IllegalArgumentException: Could not find translation job with id 'test_translationjob_en_ja_da0d550a-dbf0-465e-9e26-7cf98cc1791c'

 

- While running a query using Query Performance > Explain Query tool, searching the the above job, results shows as the Job is Found and Index also being used. 

- Removing the Index, is allowing the Translation Projects to start successfully.

 

Any reason why the jobs are failing with Index in place? 

2 Replies

Avatar

Community Advisor

@surenk hoping this is resolved by this time, if not, can you give more information like what version of AEM being used, whether it is on-prem, AMS, or Cloud?

Avatar

Community Advisor

Hi @surenk 

If this is not resolved yet, Could you please share the query (as evident in logs)