Lucene INdexing aem | Community
Skip to main content
Level 2
March 19, 2025
Solved

Lucene INdexing aem

  • March 19, 2025
  • 2 replies
  • 390 views

Hi Team,

 

I uploaded a image to aem dam and in the sidekick the image is not showing up , Can I apply lucene indexing features to this?

 

Thanks,

Keerthi K.

Best answer by giuseppebaglio

Before adjusting Lucene indexing, confirm whether the 'DAM Update Asset' workflow completed successfully for your uploaded image. This workflow processes metadata, generates thumbnails, and prepares assets for indexing. If it fails, the asset may not appear in searches/Sidekick. Here's how to check:

  1. Locate the Asset in DAM:
    - Navigate to the image in AEM Assets (e.g., "/content/dam/...").
  2. Check Workflow Status:
    - Classic UI:
    - Open the asset → Click the workflow icon (clock) in the top-left → Check for "DAM Update Asset" in the Workflow History.
    - Look for errors (e.g., red/yellow status).
    - Touch UI:
    - Open the asset → Click Timeline (left rail) → Filter by Workflows → Verify "DAM Update Asset" completion.
  3. Review Logs for Errors:
    - If the workflow failed, check "error.log" (via CRXDE Lite, AEM Console, or "crx-quickstart/logs").
    - Search for errors related to the asset's path or workflow ID.
  4. Retry the Workflow Manually:
    - If the workflow is stuck or failed:
    - Go to Tools → Workflow → Instances → Select the failed instance → Terminate/Retry.
    - Restart the workflow via Assets UI: Select the asset → Timeline → Start Workflow → Choose "DAM Update Asset".
  5. Verify Asset Properties:
    - In CRXDE Lite, check the asset's "jcr:content" node for:
    - "dam:status = "processed"" (indicates successful workflow completion).
    - Missing metadata or "dam:status = "failed"" suggests workflow issues.

If the workflow runs successfully but the image still doesn't appear, proceed to troubleshoot indexing (e.g., rebuild "damAssetLucene").

 

2 replies

giuseppebaglio
giuseppebaglioAccepted solution
Level 10
March 19, 2025

Before adjusting Lucene indexing, confirm whether the 'DAM Update Asset' workflow completed successfully for your uploaded image. This workflow processes metadata, generates thumbnails, and prepares assets for indexing. If it fails, the asset may not appear in searches/Sidekick. Here's how to check:

  1. Locate the Asset in DAM:
    - Navigate to the image in AEM Assets (e.g., "/content/dam/...").
  2. Check Workflow Status:
    - Classic UI:
    - Open the asset → Click the workflow icon (clock) in the top-left → Check for "DAM Update Asset" in the Workflow History.
    - Look for errors (e.g., red/yellow status).
    - Touch UI:
    - Open the asset → Click Timeline (left rail) → Filter by Workflows → Verify "DAM Update Asset" completion.
  3. Review Logs for Errors:
    - If the workflow failed, check "error.log" (via CRXDE Lite, AEM Console, or "crx-quickstart/logs").
    - Search for errors related to the asset's path or workflow ID.
  4. Retry the Workflow Manually:
    - If the workflow is stuck or failed:
    - Go to Tools → Workflow → Instances → Select the failed instance → Terminate/Retry.
    - Restart the workflow via Assets UI: Select the asset → Timeline → Start Workflow → Choose "DAM Update Asset".
  5. Verify Asset Properties:
    - In CRXDE Lite, check the asset's "jcr:content" node for:
    - "dam:status = "processed"" (indicates successful workflow completion).
    - Missing metadata or "dam:status = "failed"" suggests workflow issues.

If the workflow runs successfully but the image still doesn't appear, proceed to troubleshoot indexing (e.g., rebuild "damAssetLucene").

 
kautuk_sahni
Community Manager
Community Manager
April 10, 2025

@Kk35 Did you find the suggestion helpful? Please let us know if you need more information. If a response worked, kindly mark it as correct for posterity; alternatively, if you found a solution yourself, we’d appreciate it if you could share it with the community. Thank you!

Kautuk Sahni