Hi

I am trying to figure out what's the best approach to find the similar entries 
in 2 different sets.

For example:
let $x := (1,2,3,4,5)
let $y := (2,3,6,7,9, 10, 11, 22, 101)

if we perform $x[. = $y] or $y[.=$x] we get similar results but when the size 
of the set increases the performance goes down.

I am trying to get similar values from 2 sets having around 1000 words which is 
taking more time than expected. Can someone let me know the best approach for 
this?

Gnana(GP)

Gnanaprakash Bodireddy | Sr. Associate - Projects | IME | Cognizant Technology 
Solutions.

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.
_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to