Query Builder Debugger - Query Question | Community
Skip to main content
Level 3
March 14, 2023

Query Builder Debugger - Query Question

  • March 14, 2023
  • 2 replies
  • 2444 views

Hi All,

 

I am trying to query a specific URL that's in both component configs and plain RTEs in a specific path but the query builder debugger can't seem to find results that I know are def. on the pages.

Can anyone help me with what I may be doing wrong with this query?

path=/content/(website)
fulltext=(FULL URL)
p.limit=-1

I'm a complete noob obviously so any help would be appreciated.

Kind Regards.

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

2 replies

Rohan_Garg
Community Advisor
Community Advisor
March 14, 2023

Hi @roorue,

Syntactically, there is no issue with the query -

path=/content/we-retail

fulltext=pants

p.limit=-1

 

This will find all [nt:base] JCR nodes matching any %pants%

 

The issue might be with the URL itself. Can you share the URL you are looking for ?

Also, can you try using a subset of the complete URL ?

 

I tried the below query for a dummy search with https:// based URL- 

 

You can refer to the below cheat-sheet for quick reference -

https://github.com/paulrohrbeck/aem-links/blob/master/querybuilder_cheatsheet.md

RooRueAuthor
Level 3
March 14, 2023
Rohan_Garg
Community Advisor
Community Advisor
March 14, 2023

It's strange, I try these queries and I only get 1 result and that's to a page that has a subsection of this URL, not the full URL. I still can't get it to find the URL on the main page I know it's on and the test page I made for this. 

Could there be something that causes the query builder to not always be up-to-date with the aem content? 

We recently did a migration from prem to cloud.. the QB URL is the cloud environment URL.. just so confused why something that seems this simple isn't working as expected.


The query builder usually reflects instant results for any changes made to the repository. (excluding the time taken for the query to execute)

There is nothing in the documentation which highlights the difference in QB for on-prem vs cloud.
(https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/developing/full-stack/search/query-builder-api.html?lang=en)

 

SivakumarKanoori
Community Advisor
Community Advisor
March 14, 2023

@roorue :

 

I am able to get the results as below.

 

 

You can tell , what is the url you are trying to get it.

Thanks,Siva