Re: [basex-talk] Write files in parallel?

2024-10-04 Thread Thompson, Timothy
) ) }, { "parallel": "8"} ) -- Tim A. Thompson (he, him) Librarian for Applied Metadata Research Interim Manager, Metadata Services Unit www.linkedin.com/in/timathompson<http://www.linkedin.com/in/timathompson> From: Bridger Dyson-Smith Date: Wednesday, Oc

Re: [basex-talk] Write files in parallel?

2024-10-02 Thread Bridger Dyson-Smith
hi Tim - hope you are well. In the past (i.e. I don't remember exactly if this was perfectly parallel, it was just "parallel enough"), I have used something like the following for web requests: xquery:fork-join( for $xml in ('calq.xqm','factbook.xml','filesystem.xml','locations.xml','wiki1.zip'

[basex-talk] Write files in parallel?

2024-10-01 Thread Thompson, Timothy
Hello, Is it possible to call file:write-text-lines in parallel inside a fork-join operation? I have multiple databases that I would like to run a query over, in parallel, and write the results as JSON Lines to a file per database. When I try this, it doesn’t seem to parallelize. Thanks in adv