Hi, Florent:

The collections() call is just a shortcut / convenience.

A full query can have a cts.andQuery() over a cts.collectionQuery() list.


Hoping that helps,


Erik Hennum


________________________________
From: [email protected] 
[[email protected]] on behalf of Florent Georges 
[[email protected]]
Sent: Tuesday, August 01, 2017 3:46 AM
To: MarkLogic Developer Discussion
Subject: [MarkLogic Dev General] JSearch - collections

Hi,

The jsearch.collections() function uses the union of the collections.  Is there 
another function for the intersection instead?  That is, to select all 
documents tagged with ALL the given collections (instead of ANY of them).

Regards,

--
Florent Georges
H2O Consulting
http://h2o.consulting/


_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to