When using "order by" in a query like the following:
for $r in document('/db/ordbase/terms/SD-terms/terms-sme.xml',
'/db/ordbase/terms/SD-terms/terms-lat.xml')//entry[. &= 'hei*']
order by $r/common/head, $r/common/head/@pos
the query takes about 20 seconds to perform, whereas the same query
without any "order by" clause takes in the range of 5 seconds.
The query returns 53 hits in altogether about 23 000 entries in all
Is there any possibility to speed up sorting?
Get latest updates about Open Source Projects, Conferences and News.