この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
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.
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.
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
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.
We hope this helps!
Regards,
表示
返信
いいね!の合計
The reason is because Query Builder is a better way to search then XPATH. Use Query Builder or JCR SQL/2 over XPATH.
表示
返信
いいね!の合計
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.
We hope this helps!
Regards,
表示
返信
いいね!の合計
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.
表示
返信
いいね!の合計