When using QueryBuilder with selective properties, how can we return the path of each result as well? | Community
Skip to main content
LinearGradient
Level 6
October 16, 2015
Solved

When using QueryBuilder with selective properties, how can we return the path of each result as well?

  • October 16, 2015
  • 1 reply
  • 681 views

Hi,

When using default "p.hits", search results contain path as well. However when using the "selective" option, path is no longer returned.

Is there a way to return path with selective option?

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

In p.properties include jcr:path separated by a space

1 reply

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

In p.properties include jcr:path separated by a space