Re: [basex-talk] Bug report

2024-08-12 Thread Csaba Fekete
-c"INFO DB" > > Thanks, > Christian > > > On Sat, Aug 10, 2024 at 8:31 PM Csaba Fekete > wrote: > >> Hello >> >> The following works on Basex 10.7 but fails on Basex 11.1. >> >> The command I'm trying to run is: >> >>

[basex-talk] Bug report

2024-08-10 Thread Csaba Fekete
Hello The following works on Basex 10.7 but fails on Basex 11.1. The command I'm trying to run is: /opt/basex/bin/basex -v -c'OPEN mydb; ADD "/tmp/ZTH4ZRO.xml"' I've attached the XML file.The output I'm getting: Database 'mydb' was opened in 54.52 ms. Improper use? Potential bug? Your feedback

[basex-talk] Performance & scaling

2024-07-29 Thread Csaba Fekete
Hi I have read the Advanced User Guide section in the documentation and I got a lot of useful information but I'm still a little bit stuck. I have large (1 GB+) mostly single document databases and complex queries that often take too long to execute. Apart from optimizing the queries, what are my

Re: [basex-talk] Crash on ADD file.xml

2023-11-12 Thread Csaba Fekete
gt; See [1] for more details. > > Best, > Christian > > [1] https://docs.basex.org/wiki/Startup#Concurrent_Operations > > > > Csaba Fekete schrieb am So., 12. Nov. 2023, 14:20: > >> Hi all >> >> Scenario: I am trying to add a file *while a query is be

[basex-talk] Crash on ADD file.xml

2023-11-12 Thread Csaba Fekete
Hi all Scenario: I am trying to add a file *while a query is being run through the rest api*. Everything is working fine if no query is being run. Am I trying to do something that isn't supported? The command is: /opt/basex/bin/basex -v -c"OPEN dbname;ADD $fname.xml" The command exits with the

Re: [basex-talk] Passing an array to REST HTTP service

2023-11-03 Thread Csaba Fekete
(: XQuery file: query.xq :) > declare variable $n as xs:integer* external; > array { $n } > > You can try the latest stable snapshot [2]. > > Best, > Christian > > [1] https://docs.basex.org/wiki/REST#GET_Method_2 > [2] https://files.basex.org/releases/latest/ > >

[basex-talk] Passing an array to REST HTTP service

2023-11-03 Thread Csaba Fekete
Hi I'm wondering if this is at all possible... I defined an array variable in my XQUERY: declare variable $ca as array(xs:integer) external := []; How can I assign a value (e.g [1,2]) to this variable through the URL? I have already tried: http://host:port/rest/dbname?run=query.xq&$ca[]=1&$ca[]

Re: [basex-talk] Access denied using client

2023-10-20 Thread Csaba Fekete
> > Von meinem iPhone gesendet > > Am 20.10.2023 um 22:15 schrieb Csaba Fekete : > >  > Sorry, please ignore, it still doesn't work. > It works on my local machine, but not in the Docker container. > It looks like my Dockerfile is not quite right yet. > I'l

Re: [basex-talk] Access denied using client

2023-10-20 Thread Csaba Fekete
Sorry, please ignore, it still doesn't work. It works on my local machine, but not in the Docker container. It looks like my Dockerfile is not quite right yet. I'll keep trying. Thanks anyway. On Fri, 20 Oct 2023 at 22:04, Csaba Fekete wrote: > Szia Christian :-) > Yeah, I

Re: [basex-talk] Access denied using client

2023-10-20 Thread Csaba Fekete
erver later). Many thanks for your help! Csaba On Fri, 20 Oct 2023 at 21:56, Christian Grün wrote: > Szia Csaba, > > Thanks for your observation. You may need to set the password first, and > start the server after that. > > Does this help? > Christian > > > > Csaba

[basex-talk] Access denied using client

2023-10-20 Thread Csaba Fekete
Hello, A total newbie here, I'm a first time user. I have installed basex on Ubuntu and I'm running the server attached to 127.0.0.1, on port 1984. It looks like this is working and the server is listening. Now I create a password for admin: basex@cac5ba21e248:/opt/basex/bin$ ./basex BaseX 10.8 b