Hi
Is it possible to run a search which assigns lower scores to documents
containing stems of the search terms, so that they have a lower relevance
than documents which contain the exact search term?
e.g.
Document 1:
<test>the word is run</test>
Document 2:
<test>the word is ran</test>
Document 3:
<test>the word is running</test>
Query:
cts:search(/test, cts:element-query(xs:QName("test"), "ran"))
Is there a way to ensure that Document 2 is given the highest relevance
score, as it is the only document containing the exact search term?
Thanks,
Cara
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general