|
Hi Andreas,
cts:element-values() get result for one or more elements together with its internal search mechanism.If you run cts:element-values(xs:QName("a"))
and cts:element-values(xs:QName("b")) separately, it will return result also fast but when you are manually merging the values after getting result at your end this step will take some time to perform.
Please refer : shttps://docs.marklogic.com/cts:element-values#element-names
Also refer https://developer.marklogic.com/pubs/architecture/inside-marklogic-server-r7.pdf for how MarkLogic works internally for searching
and other stuff :)
Regards,
Asit Nautiyal
From: [email protected] [[email protected]] on behalf of Andreas Hubmer [[email protected]]
Sent: Tuesday, May 12, 2015 6:23 PM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Performance of cts:element-values Thanks for your reply. Can you give some insight on how cts:element-values works internally when called with multiple QNames? How is it faster than manually merging the values afterwards?
2015-05-12 14:50 GMT+02:00 Asitmohan Nautiyal
<[email protected]>:
Andreas Hubmer
IT Consultant
EBCONT enterprise technologies GmbH
Millennium Tower
Handelskai 94-96
A-1200 Vienna
Mobile: +43 664 60651861
Fax: +43 2772 512 69-9
Email:
[email protected]
OUR TEAM IS YOUR SUCCESS
UID-Nr. ATU68135644
HG St.Pölten - FN 399978 d
|
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
