AEM site search | Community
Skip to main content
key-key
Level 4
July 8, 2020
Solved

AEM site search

  • July 8, 2020
  • 2 replies
  • 1200 views

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?

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Nupur_Jain

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

 

3. 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

2 replies

arunpatidar
Community Advisor
Community Advisor
July 9, 2020

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
Nupur_Jain
Adobe Employee
Nupur_JainAdobe EmployeeAccepted solution
Adobe Employee
July 10, 2020

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

 

3. 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