Hi, Diwakar:
The additional queries are typically filters, but there's a trick to create a
boosting query:
cts:or-query((cts:and-query(()), YOUR_BOOSTING_QUERIES_HERE))
The nested and query will match anything, so the or query won't filter out any
documents.
Documents matching the boosting queries should have a somewhat higher score,
and you can increase the weight of the boosting queries for a more significant
boost to the score.
Hoping that helps
Erik Hennum
________________________________
From: [email protected]
[[email protected]] on behalf of
[email protected] [[email protected]]
Sent: Thursday, December 11, 2014 6:50 AM
To: [email protected]
Subject: [MarkLogic Dev General] Boosting score using additional query
Hi,
I am using search:search with lot of additional queries in options. Will i
be able to boost the score, if the match is found inside a particular element
of a document using an additional query? Do i need to have document quality set
for this to work?
Thanks,
Diwakar N
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general