Hi @divanshjohndigital
Your query should be something like this -
/bin/querybuilder.json?type=cq:Page&path=/content&property=jcr:title&property.value=search term&p.limit=-1
Here's a breakdown of the query parameters:
type: Specifies the type of content to search for.
path: Specifies the path to the node in the content tree where the search should start.
property: Specifies the property to search for.
property.value: Specifies the value of the property to search for.
p.limit: Specifies the maximum number of results to return. A value of -1 means that all results will be returned.
AEM has a built-in indexing system that can handle a small to medium-sized content repository. However, as the size of the content repository grows and the number of queries increases, the performance of the AEM indexing system may start to degrade. In such cases, it may be beneficial to move the index to Apache Solr, which is a highly scalable and performant search engine.