Hi, Mrinmoy: Can you provide the invalid coercion error? Including the expression, module, and line number identified by the error (and the specific MarkLogic version)?
Thanks, Erik Hennum ________________________________ From: [email protected] [[email protected]] on behalf of Mrinmoy Khamrui [[email protected]] Sent: Friday, September 05, 2014 6:59 AM To: [email protected] Subject: [MarkLogic Dev General] using cts:boost-query with search:resolve in Marklogic 7 Hi Folks, I am trying to use cts:boost-query with search:resolve and getting invalid coercion. Below is my code snippet. let $query := search:parse($search-term,$options) let $query := cts:boost-query(cts:query($query), cts:path-range-query("somepath with path index", ">", 0, ("score-function=linear","slope-factor=10"))) let $results := search:resolve($query, $options, $start, $pageRecs) Any suggestion is highly appreciated. Thanks Mrinmoy
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
