Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

About query with fulltext using bin/querybuilder.json

Avatar

Level 3

Hi ,

 

query1:-

I am using CQ5.6.1 need to search the site with content that has
 
http://www.abc.com at location /content/web
 
I wanted to use bin/querybuilder.json
 
The query I used 
 
http://localhost:4502/bin/querybuilder.json?path=/content/web&fulltext=http://www.abc.com&_charset_=UTF-8&p.limit=-1
 
I am getting some querys nodes that actually don't have text http://www.abc.com
 
Could some one help me refining the query

 

 

query2:-

I need a query similar to above using bin/querybuilder.json  that  is http url as above i.e which is having http:// but not equal to http://www.abc.com

Say for example the content had the url http://www.ddd.com and it could show in the query result but don't want http://www.abc.com in the query result

 

query3:-

I need the search based on component sling resource type . but this component is added from side kick so not sure where is the exact location so i am not  using property.property

when i add the component  from sidekick the slingresource gets stored as "myapp/components/page/bbc"

http://localhost:4502/bin/querybuilder.json?path=/content/web&type=cq:Page&property.value=myapp/components/page/bbc&_charset_=UTF-8&p.limit=-1

the above is giving wrong output.

Thanks
1 Accepted Solution

Avatar

Correct answer by
Employee
1 Reply

Avatar

Correct answer by
Employee