Hi Team,
I have written a code using query builder api where i am using nodename as a predicate to fetch the jcr content data. It was working fine in lower environments but in production it is not giving any result. Using query builder debugger tool with correct xpath query it is loading infinitely if the predicate has nodename but with property it is giving result.
Please help.
Thanks
Views
Replies
Total Likes
Can you test this Query on a fresh Publish installation to rule out issue iwith the current instance.
Views
Replies
Total Likes
Can you help me with the query?
~kautuk
Views
Replies
Total Likes
Query is:
path=/content/<proj>/..
nodename=pageHeader
p.limit=-1
when i am hitting this query using querybuilder debugger tool it is loading infinitely and in logs it is giving the following warning: /libs/cq/search/content/querydebug.html HTTP/1.1] org.apache.jackrabbit.oak.plugins.index.property.strategy.ContentMirrorStoreStrategy Traversed 90000 nodes (275628 index entries
Views
Replies
Total Likes
This looks like an index issue - have you set the index properly?
Views
Replies
Total Likes
Thanks for the reply. We have asked our devops team to setup the indexes in production.
Views
Replies
Total Likes
Hey -- check out this GEMS session on Indexing - it is a great session -- Oak Lucene Indexes
Issues with Queries using sling:resource property - could find something similar here. May be you can try this in your local
Views
Replies
Total Likes
Views
Likes
Replies