can u tell me why this has no effect? 
the query is being accepted, but the resultset has exactly the same order as
before...
just like i woulndt have ordered by ... 

i checked both ways u told me... and i prayed a little ;) but it didnt
help...

Maybe i have to change the syntax? or sth. like that
so if so. knows why the order by doesnt work plz tell me, thx in advance!

i tried those queries:
"//[EMAIL PROTECTED]:primaryType='mgnl:hierarchyNode']/*/*[jcr:contains(., 
'foooooo')]
order by @modificationDate"
"//[EMAIL PROTECTED]:primaryType='mgnl:hierarchyNode']/*/*[jcr:contains(., 
'foooooo')]
order by @jcr:score"

--> no effect - and no exception



Marcel Reutegger wrote:
> 
> 
>> 
>> //[EMAIL PROTECTED]:primaryType='mgnl:hierarchyNode']/*/*[jcr:contains(.,
>> 'foooooo')]
> 
> to get the nodes ordered by modification date append:
> 
> order by @modificationDate
> 
> to get the nodes by relevance:
> 
> order by @jcr:score
> 
> regards
>   marcel
> 
> 

-- 
View this message in context: 
http://www.nabble.com/ORDER-BY-clause-in-XPath-Query-using-Magnolia-tf2818077.html#a8130167
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to