[MarkLogic Dev General] Quick check on boosting scores

Mattio Valentino mattio.valentino at gmail.com
Fri Jun 29 07:22:22 PDT 2007

This is just more of a sanity check than anything else.  I think this
is okay based on what I've seen in the dev guide and the list

I have a query where I want to search for the term wherever it occurs,
but if it occurs in a title element, I want to boost the score.  Is
this a reasonable pattern to follow?

  cts:and-query(cts:word-query("jazz", (), 0.25)),
  cts:and-query(cts:element-word-query(xs:QName("title"), "jazz", (), 1.5))


More information about the General mailing list