Hi everyone,

I calculate relevance of a single document to some query by doing this:

cts:fitness(
      cts:search(
              fn:doc(),
              cts:and-query((
                cts:document-query(... document uri ...),
                ... some query ...
              )),
              ("score-logtf","unfiltered")
      )
)

I want to do the same thing, but for an element, without ingesting this element 
to my database.

Any ideas?



Oleksii Segeda

IT Analyst

Information and Technology Solutions

[http://siteresources.worldbank.org/NEWS/Images/spacer.png]

[http://siteresources.worldbank.org/NEWS/Images/WBG_Information_and_Technology_Solutions.png]



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

Reply via email to