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
archives.
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:or-query((
cts:and-query(cts:word-query("jazz", (), 0.25)),
cts:and-query(cts:element-word-query(xs:QName("title"), "jazz", (), 1.5))
))
Thanks,
Mattio
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general