
cts.orQuery( queries as cts.query[], [options as String[]] ) as cts.orQuery
Returns a query specifying the union of the matches specified by the sub-queries.
cts.estimate(
cts.orQuery([
cts.wordQuery("summer"),
cts.wordQuery("sun of York")]))
=> 31 plays have text content that
contains the word 'summer' OR some node
whose text content contains the phrase 'sun of York'.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.