Re: [basex-talk] Can XQuery return unique values present across multiple databases?

2021-08-12 Thread Martin Honnen
Am 13.08.2021 um 00:12 schrieb Tamara Marnell: Short question: Is it possible to write an XQuery FLWOR statement that can return a set of unique values present across multiple databases? Long question: Our new website in development displays EAD finding aids stored across 45 databases in Base

[basex-talk] Can XQuery return unique values present across multiple databases?

2021-08-12 Thread Tamara Marnell
Short question: Is it possible to write an XQuery FLWOR statement that can return a set of unique values present across multiple databases? Long question: Our new website in development displays EAD finding aids stored across 45 databases in BaseX. I've built "facet" databases that index terms in

Re: [basex-talk] Pretty-print the -V optimized query? See what indexes are used?

2021-08-12 Thread Christian Grün
Hi Jonathan, > Is there a way to pretty-print the optimized query from the -V option? Currently no. Personally, I’m not aware of any XQuery code formatter that works really well. Maybe anyone else on the list does? > What is the best way to see which indexes are being used? The usual way is to

Re: [basex-talk] org.basex.core.BaseXException with no error message

2021-08-12 Thread Christian Grün
Hi Matt, It’s difficult to give a general answer. Do you think you can share a reproducible test case with us? Thanks in advance Christian On Thu, Aug 12, 2021 at 3:01 PM Matthew Dziuban wrote: > > Hi all, > > I'm using the java ClientSession class defined in the basex-api module and > I'm s

[basex-talk] org.basex.core.BaseXException with no error message

2021-08-12 Thread Matthew Dziuban
Hi all, I'm using the java ClientSession class defined in the basex-api module and I'm seeing intermittent org.basex.core.BaseXException errors with an empty error message when executing long-running read queries or CREATE DB commands. The stack trace of the most recent error points to ClientSessi

Re: [basex-talk] XProc?

2021-08-12 Thread Imsieke, Gerrit, le-tex
We couple it more loosely using RESTXQ endpoints and HTTP requests. On 12.08.2021 13:58, Jonathan Robie wrote: What hooks does BaseX provide for XProc?  Where can I find examples of BaseX use in an XProc pipeline? Jonathan

[basex-talk] Pretty-print the -V optimized query? See what indexes are used?

2021-08-12 Thread Jonathan Robie
Is there a way to pretty-print the optimized query from the -V option? What is the best way to see which indexes are being used? Jonathan

Re: [basex-talk] XProc?

2021-08-12 Thread Martin Honnen
Am 12.08.2021 um 13:58 schrieb Jonathan Robie: What hooks does BaseX provide for XProc?  Where can I find examples of BaseX use in an XProc pipeline? Morgana XProc for XProc 1 has support for using BaseX for the p:xquery step: https://www.xml-project.com/documentation/morgana-userguide/morga

[basex-talk] XProc?

2021-08-12 Thread Jonathan Robie
What hooks does BaseX provide for XProc? Where can I find examples of BaseX use in an XProc pipeline? Jonathan