The weight comes from the term weight in the query (by default 1), scaled by
the IDF. So the fewer the fraction of documents the term appears in, the higher
the weight will be (assuming default logtfidf scoring).
//Mary
On 12/15/2016 07:36 AM, Andreas Hubmer wrote:
Hi,
I'm tuning the result order of a search and not sure about all the parts in the
output of cts:relevance-info.
Example:
<qry:relevance-info>
...
<qry:term weight="47.75">
<qry:score formula="8*weight*logtf" computation="382*20">7640</qry:score>
<qry:key>12437021743613916800</qry:key>
</qry:term>
</qry:relevance-info>
What is the weight marked in bold? How is it influenced?
The term query in my example is a field-word-query.
Thanks,
Andreas
--
Andreas Hubmer
Senior IT Consultant
EBCONT enterprise technologies GmbH
Millennium Tower
Handelskai 94-96
A-1200 Vienna
_______________________________________________
General mailing list
[email protected]<mailto:[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