HI, Florent:

Au contraire, thank you for identifying these issues and for persisting.


Erik Hennum


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

Thank you, Erik!  I hoped there was a ready-to-use function for that.  Thank 
you for confirming there is none.

I definitely owe you a drink of your choice after the past few days :-)

Regards,

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


On 1 August 2017 at 15:10, Erik Hennum wrote:
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]<mailto:[email protected]>
 
[[email protected]<mailto:[email protected]>]
 on behalf of Florent Georges [[email protected]<mailto:[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]<mailto:[email protected]>
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general





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

Reply via email to