Hi Thorsten, hi all!
I have observed that the execution time of the query:
declare default collation “collation?language=it;strength=secondary”
for $a in input()/Index[@type=“author” and @tot>0] sort by (./@order ascending)
return $a
depends on the document number of type Index in the db (it increases with this number); while the execution time of this other query:
for $a in input()/Index[@type=“author” and @tot>0] sort by (./@order ascending)
return $a
is independent from the number of documents Index (it’s the same time).
To this point my question is: the declare default collation "collation?language=it;strength=secondary"involves an ordering of all documents (of type Index or of the collection) and not only of those filtered in the xquery?
Thanks in advance
#webMethods#Tamino#API-Management