Hi,
I have a following query regarding:
<additional-query>
cts:or-query((
cts:element-value-query(xs:QName("title"),"rent",
("case-insensitive","unstemmed")),
cts:element-value-query(xs:QName("description"),"house",("case-insensitive","unstemmed"))))
</additional-query>
If there is no results for the 1st OR query then only it should execute the 2nd
OR query.
i.e
If there are no titles with rent then
Return the results for house in description field.
I have to do this in additional query only.
I am using search:search($query,$options)
But using cts:or-query we are getting union of both results. How can we achieve
this?
Thanks,
Pragya
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general