Hi,

If you wrap your xpath (or cts:search) in xdmp:estimate you'll see how
many documents you may bring back:

collection('test')/patient/link/visit[@age =
('60岁','61岁','62岁','63岁','64岁','65岁')]

If it's too many for your memory, you can try breaking up the query
into batches.  Just looking at what you have, can you run each of 60岁,
61岁, etc. separately?  Some batch oriented tool like corb2 might help
too.

= Chris

On Mon, Jul 6, 2015 at 11:53 PM, 张晓博 <[email protected]> wrote:
> my query is :
> xdmp:node-insert-child(collection('test')/patient/link/visit[@age =
> ('60岁','61岁','62岁','63岁','64岁','65岁')],
>  <mynode>some string ...</mynode>);
>
> how to change my query to void the XDMP-EXPNTREECACHEFULL error?
> thanks.
>
>
>
> _______________________________________________
> General mailing list
> [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