Could someone explain to me the difference between 'sample' and 'truncate'?
Also, what I'm finding interesting is the significant difference in performance between these 3 options. In my case, I only want 1 value returned, so I either say "limit=1", "sample=1", or "truncate=1". But, the performance difference is profound. Limit=1 is by far the fastest for my set of queries (about 6s). Unfortunately, I can't use this option because the results are not ordered by the 'score'. truncate=1 is next with an avg of around 8s. I can use this option because the results are ordered by the 'score'. sample=1 is the slowest with an avg of around 11s. Returns same results as truncate, but quite a bit slower. So, for the exact same cts:query the performance varies quite a bit (something that I wouldn't have expected). Could anyone from the MarkLogic side provide some insight here? Thanks. Darin. _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
