It looks like is the double slash between /jcr:root and content which
causes it to traverse. I'll amend my queries.

On 11 February 2015 at 18:10, Thomas Mueller <muel...@adobe.com> wrote:
> Hi,
>
>>/jcr:root//content//*/element(*,ka:asset)[@ka:assetType = 'company' ]
>>order by @jcr:score
>
> Could you try removing "order by @jcr:score"?
>
> jcr:score has a meaning for full-text queries ("contains..."), but not
> here.
>
> Please note "order by @jcr:score" means low scores come first. To get high
> scores first, you need to use "order by @jcr:score descending".
>
>
> Regards,
> Thomas
>



-- 
-Tor

Reply via email to