Expand my Community achievements bar.

SOLVED

AEM site search

Avatar

Level 4

In AEM site search is there any way a content author can bring up the page by the page name only and not any key words in the page or the metadata in properties?

 

 
financial-plan-.PNG

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @key-key 

 

As far as I know, there is no OOTB way on AEM Sites to search by name. There is an alternative to search such pages but the way is not very recommended for Content Authors and rather used by developers for Query. You can try this out anyway:

  1. Go to http://localhost:4502/libs/cq/search/content/querydebug.html
  2. Enter query data as below as click on search

 

 

path=/content/we-retail
type=cq:Page
nodename=*men*
p.limit=-1

 

Screenshot from 2020-07-10 14-34-31.png3. You will get the liist of pages with page name containing men, click on html option available in seached list to open content page. If you need to search pages with exact name as men. Modify query as 

 

path=/content/we-retail
type=cq:Page
nodename=men
p.limit=-1​

 

 

 

This option is generally not available to authors with limitted rights.

 

Thanks,

Nupur

View solution in original post

2 Replies

Avatar

Community Advisor

Hi, What version are you using? Can you share from where you are searching? In 6.4; I can't see the search option.

 

Arun_Patidar_0-1594329108663.png

 



Arun Patidar

Avatar

Correct answer by
Community Advisor

Hi @key-key 

 

As far as I know, there is no OOTB way on AEM Sites to search by name. There is an alternative to search such pages but the way is not very recommended for Content Authors and rather used by developers for Query. You can try this out anyway:

  1. Go to http://localhost:4502/libs/cq/search/content/querydebug.html
  2. Enter query data as below as click on search

 

 

path=/content/we-retail
type=cq:Page
nodename=*men*
p.limit=-1

 

Screenshot from 2020-07-10 14-34-31.png3. You will get the liist of pages with page name containing men, click on html option available in seached list to open content page. If you need to search pages with exact name as men. Modify query as 

 

path=/content/we-retail
type=cq:Page
nodename=men
p.limit=-1​

 

 

 

This option is generally not available to authors with limitted rights.

 

Thanks,

Nupur