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

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

Mark Solution

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

解決済み

How to configure CQ 5.6 to index JavaScript files?

Avatar

Level 7

Right now content of CSS and JS files are not indexed and are not searchable.

Is there a way to add them to the index and make their content searchable?

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

Avatar

正解者
Employee

I guess file a DayCare ticket.

元の投稿で解決策を見る

6 返信

Avatar

Level 7

Could someone please explain if this is possible or not?

Avatar

Employee

CSS and JS files are indexed currently. All files are indexed by default. What search interface are you using? What search specifically is failing?

Avatar

Level 7

Hi Justin,

I am using the Search field of CRXDE:

[img]http://i.imgur.com/2LYuyBX.png[/img]

But searching for content inside JS is not returning them. For example searching for "maxRowExcl" I expect "/libs/cq/ui/rte/core/CellSelection.js" to appear in search results but it doesn't.

However searching, for example, for "snip off all trailing slashes" returns "/libs/cq/replication/components/treeactivation/POST.jsp" as expected.

So somehow contents of JS/CSS files are not being indexed it seems.

Avatar

Employee

Interesting. I'm pretty sure this used to work. Sorry for the bad information.

Avatar

Level 7

No problem Justin. Should I raise a ticket with DayCare or would you be able to share a solution for indexing JS/CSS files here?

Avatar

正解者
Employee

I guess file a DayCare ticket.