query for a text under apps in *.js file

srinivas_chann1

02-01-2020

Hi ,

 

I have text in *.js file  that is "rolloutWithWorkflow"  and i was trying to check if /libs/cq/search/content/querydebug.html  can show the file .I am trying this out as,I need to check few text if present under libs files

 

The query was  as below

 

type=nt:file
fulltext=rolloutWithWorkflow
nodename=*.js
path=/apps

 

It did not show the file name.Please let me know what should be the query to show the results of js file name

 

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Phoenics

05-01-2020

The Query seems to be correct already, 

I tried this on my local machine and could see the expected content.


type=nt:file
nodename=*.jsp
fulltext="when-config-successful"
path=/libs

If you say it doesn't show the file name , what else was the result ?

 

EG: 

http://localhost:4502/libs/cq/search/content/querydebug.html?_charset_=UTF-8&query=type%3Dnt%3Afile%...

Answers (1)

Answers (1)