Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Querying in AEM integrated with SolR


Level 1

I have used OOTB integration of remote solr, so that solr indexes can be used to resolve JCR queries.
When querying the JCR using querybuilder, the indexes of solr are used(is the cost is minimum). But only selective data is retrieved from solr indexes such as "path_exact" which is used to retrieve the location of the node, while I have stored other properties as well in the index, only the path of a resource is retrieved by querybuilder.

When I execute a query like below in querybuilder:


p.hits=selective tweetContent userName handler isVerified userName jcr_lastModified

Logs generated :

As shown above, JCR query does not retrieve selective properties as asked by the querybuilder.

Is there a way possible to fetch the indexed data and not just the path_exact from solr to make proper use of indexed data using any querying mechanism such as sql2 or xpath or querybuilder. So that we don't have to access JCR again to retrieve the selective properties.

Vikas Chaudhary

1 Reply