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
