[basex-talk] Docker query

2019-11-08 Thread Joseph Szili
Hello all, I'm trying to use the docker image for 9.x but when I surf to http://localhost:8984/dba/ per the documentation ... I get the following response in the browser No function found that matches the request. Using this command in linux (Ubuntu 19.04) ›$ docker run -d \ --name basexhttp \

[basex-talk] Element constructors

2017-03-15 Thread Joseph
their contents ($a/s/) (i.e., I expect that the exact same element of the document is inserted), BaseX gets out of main memory. Any explanation? Thanks. Joseph

Re: [basex-talk] Gzipped compression

2017-03-13 Thread Joseph
the specification that the content was gzipped (in the Response Headers section). Thanks. Best, Joseph 2017-03-11 17:08 GMT+01:00 Christian Grün <christian.gr...@gmail.com>: > Dear Joseph, could you give us some more details on what you tried so > far? Does your client accept zipped

[basex-talk] Exit a for-loop?

2017-02-27 Thread Joseph
Hi, I have two sets of numbers, and I would like to write a for-loop for comparison, so that I get only the first match between the numbers. I was thinking of a double for-loop, but I do not know how to exit the comparison as soon as I get the first match. Any idea? Thanks. Joseph

Re: [basex-talk] XQuery performance degradation as number of json files grows

2017-01-31 Thread Baysdon, Joseph
Below is a representative XQuery expression, wherein the JSON file is added via db:rename, and that addition is journaled to an XML log file via the write-log-event function. *I’ve noticed that the update to the xml log is adversely affected as the number of JSON files in the db grows.*

[basex-talk] XQuery performance degradation as number of json files grows

2017-01-25 Thread Baysdon, Joseph
The performance of XQuery updates degrades as the number of JSON resources in my BaseX instance grows. In what ways might the number of JSON resources affect the performance of an XQuery update for a particular XML resource? I was under the impression that JSON resource were not indexed.

Re: [basex-talk] basex, nfs, and local storage

2017-01-24 Thread Baysdon, Joseph
Chistian, I thought that *some* of the index files could be created/re-created from scratch (i.e. they don’t contain any data necessary for creating an xml instance for a resource in the db). If that’s not the case, ok. If it is the case, can you identify which index files can be

Re: [basex-talk] basex, nfs, and local storage

2017-01-20 Thread Baysdon, Joseph
be zipped and unzipped. A single database is composed of .basex files, and the raw files are stored in a "raw" sub-directory. Cheers, Christian On Fri, Jan 20, 2017 at 7:24 PM, Baysdon, Joseph <joseph.bays...@sap.com> wrote: > Thanks, Chri

Re: [basex-talk] basex, nfs, and local storage

2017-01-20 Thread Baysdon, Joseph
n using UPDINDEX, only atvl, atvr, txtl and txtr will be updated If you call OPTIMIZE ALL, all files will be recreated. Does this help? Christian [1] http://docs.basex.org/wiki/Storage_Layout On Fri, Jan 20, 2017 at 5:36 PM, Baysdon, Joseph <jos

[basex-talk] basex, nfs, and local storage

2017-01-20 Thread Baysdon, Joseph
My baseX database is accessed via an NFS mount, and I’d like to improve its performance by moving its re-creatable files (e.g. indices) to a local disk. For the sake of NFS backup & restore, I’d like to keep the db files which cannot be re-created on the NFS servers. Would someone please

Re: [basex-talk] Try/catch

2016-09-15 Thread Joseph
ngle path expression, > duplicates will be filtered out. > > > > > On Thu, Sep 15, 2016 at 2:54 PM, Joseph <meumap...@gmail.com> wrote: > > Yes, I mean the XML file. I using a query like the following. There are > > nodes for which the replace updating expres

Re: [basex-talk] Try/catch

2016-09-15 Thread Joseph
hristian Grün <christian.gr...@gmail.com>: > Hi Joseph, > > > I use all the $err but the line error refers to the one inside my query > not that of the file where the query cannot be applied (more precisely, a > node cannot be replaced more than once, but I do not know where

Re: [basex-talk] db:optimize questions

2016-08-02 Thread Baysdon, Joseph
;christian.gr...@gmail.com> wrote: Hi Joseph, > Does an optimized database perform better than an unoptimized database for db:open? How about for db:list? Or db:retrieve? It strongly depends on the update operations you perform. The most tangible differenc

Re: [basex-talk] Used memory value

2015-03-30 Thread Joseph
. I can also say that the same problem happens on another mac (OS X Yosemite 10.10.2). Thanks 2015-03-28 14:07 GMT+01:00 Christian Grün christian.gr...@gmail.com: Hi Joseph, When I open Basex 8.3 GUI, the value of the used memory keeps growing up/changing fast, even though I do not do

[basex-talk] Used memory value

2015-03-27 Thread Joseph
Hi, When I open Basex 8.3 GUI, the value of the used memory keeps growing up/changing fast, even though I do not do anything. Since this does not happen with Basex 7.9, is this due to Java? (I run Java 1.8.X) Thanks, Joseph

[basex-talk] Truncated results

2015-03-27 Thread Joseph
Hi, I have noticed that when using the update facility, for example the replace expression, results for a long file may be cut off. This however does not happen if I use the non-updating expression (copy/modify): does this make sense to you? Thanks. Joseph