Loading TOC...

cts.collectionQuery

cts.collectionQuery(
   $uris as String[]
) as cts.collectionQuery

Summary

Returns a query matching documents in the collections with the given URIs. It will match both documents and properties documents in the collections with the given URIs.

Parameters
$uris One or more collection URIs.

Example

cts.search(cts.andQuery([cts.wordQuery("repair"),
    cts.collectionQuery(["reports", "analysis"])]));

  => .. relevance ordered sequence of documents that both
     contains the word "repair" and is in either the
     collection "reports" or in the collection "analysis".

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy