Is there a way to batch insert multiple in memory documents using XQuery
rather than Java?  xdmp:document-insert processes one document at a time
and is slow for multiple documents.

Bob

>Wow ... sorry for the spam but I did it !

>I got the 500 docs/sec.  And no it wasnt the manual directory mode.
>it was a bug in my batching code (using XCC) , it was still sending 1
file at a time - darn typeo.
>I fixed it to send 500 files at a time and now I'm getting about 500
docs/sec !!
>Finally :)

>Any suggestions using XCC on which would be faster  ?

>1)      ContentLoader.load(  String[] , File[] )

>2)      Session.insertContent( Content[] )


_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to