Expand my Community achievements bar.

srajput-woolies
srajput-woolies
Online
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Hello All, I have a requirement to remove 'order by' on 'created date' and return the results as added in author dialog. For Instance - Query is SELECT p.* FROM [cq:PageContent] AS p WHERE ISDESCENDANTNODE(p, [/content/test/en]) AND p.[cq:template] = '/conf/test/settings/wcm/templates/test1' AND (...

    Type

    Questions

    Views

    463

    Likes

    0

    Replies

    2
  • Thanks for the response. We already has index for this query, which search only at one path - SELECT p.* FROM [cq:PageContent] AS p WHERE ISDESCENDANTNODE(p,[/content/AA])  AND ( CONTAINS(p.[cq:tags], ‘”testAA”) ) But due to one of the requirement, we have to search at 2 paths now, hence we updated ...

    Type

    Questions

    Views

    545

    Like

    1

    Replies

    1
  • Hello,I want to search the nodes on 2 different paths. For example -> /content/AA and /content/BB. The below query works fine SELECT p.* FROM [cq:PageContent] AS p WHERE ( ISDESCENDANTNODE(p,[/content/AA]) OR ISDESCENDANTNODE(p,[/content/BB]) ) AND ( CONTAINS(p.[cq:tags], ‘”testAA”) ) but throws the...

    Type

    Questions

    Views

    566

    Likes

    0

    Replies

    3
Top badges earned by srajput-woolies
Customize the badges you want to showcase on your profile