And to extend this train of thought:

In many cases, *-range-queries may offer much more performance increase
over anything from the universal index (the *-value-queries) - even if your
value is not a range.

This goes in-depth:
https://docs.marklogic.com/guide/performance.pdf



Kind Regards,
David Ennis


David Ennis
*Content Engineer*

[image: HintTech]  <http://www.hinttech.com/>
On 17 August 2015 at 15:16, <[email protected]> wrote:

> Hi Anoop,
>
>
>
> Marklogic specific Xquery functions mainly introduced for faster
> performance and get fast results . Even in some constraint plain Xquery
> FlOWR conditions also useful.. All are depends on the requirements but, I
> can suggest wherever possible use marklogic specific functions get better
> results .
>
>
>
> Thanks and regards
>
> Raja >>>
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Anoop Khetan
> *Sent:* Monday, August 17, 2015 5:38 PM
> *To:* [email protected]
> *Subject:* [MarkLogic Dev General] cts:element-value-query Vs where
> condition
>
>
>
> Hi,
>
>
>
> In my system few Xqueries are using cts:element-value-query and few
> Xquries are using where condition to get particular document.
>
>
>
> Can someone tell me which will give me faster results.
>
>
>
> Regards,
>
> Anoop
>
>
>
> **************** CAUTION - Disclaimer *****************
>
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
>
> for the use of the addressee(s). If you are not the intended recipient, please
>
> notify the sender by e-mail and delete the original message. Further, you are 
> not
>
> to copy, disclose, or distribute this e-mail or its contents to any other 
> person and
>
> any such actions are unlawful. This e-mail may contain viruses. Infosys has 
> taken
>
> every reasonable precaution to minimize this risk, but is not liable for any 
> damage
>
> you may sustain as a result of any virus in this e-mail. You should carry out 
> your
>
> own virus checks before opening the e-mail or attachment. Infosys reserves the
>
> right to monitor and review the content of all messages sent to or from this 
> e-mail
>
> address. Messages sent to or from this e-mail address may be stored on the
>
> Infosys e-mail system.
>
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>
>
> This e-mail and any files transmitted with it are for the sole use of the
> intended recipient(s) and may contain confidential and privileged
> information. If you are not the intended recipient(s), please reply to the
> sender and destroy all copies of the original message. Any unauthorized
> review, use, disclosure, dissemination, forwarding, printing or copying of
> this email, and/or any action taken in reliance on the contents of this
> e-mail is strictly prohibited and may be unlawful. Where permitted by
> applicable law, this e-mail and other e-mail communications sent to and
> from Cognizant e-mail addresses may be monitored.
>
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to