コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

Crxde lite query/home search not showing results under content in AEM 6.3

Avatar

Level 3

I was trying to search all instances of "granite/comments/components/collection" this included in our content but I don't see any results when I used XPath query through Crx/de. It shows the result of instances that are under libs. I even tried using crxde home search.

1337782_pastedImage_0.png

1337792_pastedImage_1.png

But when I use /libs/cq/search/content/querydebug.html I am able to retrieve the results successfully as shown below. This happens only in 6.3.

1337793_pastedImage_2.png

1 受け入れられたソリューション

Avatar

正解者
Level 7

Hi,

We had tried entering the search text as "foundation/components/redirect" in both Home search text box and XPath search text box. We were able to replicate the same issue. That is, were able to fetch results in query debug tool (/libs/cq/search/content/querydebug.html), but not in Home search and XPath search.

However, we've observed that when we are entering the search text that has slash in it and trying to generate query by clicking the generate query button, it is returning invalid query.

Work around for this issue:

Try copy pasting the XPath query that is generated in query debug tool (/libs/cq/search/content/querydebug.html) in XPath query box and execute it as shown in the screenshots below. You'll now be able to see the correct results.

query-debug-tool.png

xpath.png

We hope this helps!

Regards,

TechAspect Solutions

元の投稿で解決策を見る

3 返信

Avatar

Level 10

The reason is because Query Builder is a better way to search then XPATH. Use Query Builder or JCR SQL/2 over XPATH. 

Avatar

正解者
Level 7

Hi,

We had tried entering the search text as "foundation/components/redirect" in both Home search text box and XPath search text box. We were able to replicate the same issue. That is, were able to fetch results in query debug tool (/libs/cq/search/content/querydebug.html), but not in Home search and XPath search.

However, we've observed that when we are entering the search text that has slash in it and trying to generate query by clicking the generate query button, it is returning invalid query.

Work around for this issue:

Try copy pasting the XPath query that is generated in query debug tool (/libs/cq/search/content/querydebug.html) in XPath query box and execute it as shown in the screenshots below. You'll now be able to see the correct results.

query-debug-tool.png

xpath.png

We hope this helps!

Regards,

TechAspect Solutions

Avatar

Level 3

This issue occurs in AEM 6.3 and crxde home/query search works fine in AEM 6.1. The workaround provided by TechAspect solution works fine but it is just workaround. It doesn't solve the issue.