Query partially works in dev/qa environment
Hi All,
I have a query which gives suggestions as a result. This works fine in my local instance but works partially in dev/qa environment.
Eg. If I search "Sol" it gives me many results but if the same code is deployed to dev it doesn't gives any results. All the content and code is same but this query doesn't work properly in dev. It is a simple suggestions query where I return page title as a result.
Please help me to fix this.
Query:
SELECT [rep:suggest()] FROM [cq:Page] WHERE SUGGEST('" + q
+ "') AND (ISDESCENDANTNODE('" + p + "'))";
Regards,
Mahesh
