On Wed, 21 Sep 2016 07:51:57 -0700, Andreas Hubmer  
<andreas.hub...@ebcont.com> wrote:

> Thanks, Mary. I've been consistently wondering what sample/truncate are
> doing. Now I got an idea.
>
> Do you know of any way to get the URIs sorted by relevance?
> Using sample/truncate I can get the 5 most relevant URIs but I don't know
> which of the 5 is the most relevant one - as far as I understand.
>
> Regards,
> Andreas

There's really no way to get relevance-ordered things except via  
cts:search.

So you could do something like cts:search(doc(), $query)!xdmp:node-uri(.)   
but that's not pulling from the memory-mapped range indexes at all.

//Mary
_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to