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

Reply via email to