Skip to main content
LinearGradient
Level 6
October 16, 2015
解決済み

How to configure CQ 5.6 to index JavaScript files?

  • October 16, 2015
  • 6 の返信
  • 1716 ビュー

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?

このトピックへの返信は締め切られました。
ベストアンサー JustinEd3

I guess file a DayCare ticket.

6 の返信

JustinEd3Adobe Employee回答
Adobe Employee
October 16, 2015

I guess file a DayCare ticket.

LinearGradient
Level 6
October 16, 2015

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?

Adobe Employee
October 16, 2015

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

LinearGradient
Level 6
October 16, 2015

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.

Adobe Employee
October 16, 2015

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

LinearGradient
Level 6
October 16, 2015

Could someone please explain if this is possible or not?