[basex-talk] Query Cache?

2014-08-13 Thread Christopher Yocum
Dear List, I have a query (included below) which uses full text searching and it is fairly slow using BaseX 7.9 (5-8 seconds). I was wondering if there was a query cache implemented in BaseX? I ask because the GUI seems to keep a cache around because the same query goes from 5000ms to 204ms if

Re: [basex-talk] locking problem

2014-08-13 Thread Christian Grün
Hi Vincent, sorry for the belated reply. It's difficult to give general advise on this. If the problem still persists, could you try to build a little, self-contained example that allows us to reproduce the problem? Thanks in advance, Christian On Thu, Aug 7, 2014 at 12:47 AM, Lizzi, Vincent

Re: [basex-talk] Query Cache?

2014-08-13 Thread Christopher Yocum
Dear Christian, Thank you for the info. I will make the changes you suggest and I will let you know the information from the InfoView when I get the chance. All the best, Chris On Wed, Aug 13, 2014 at 12:18 PM, Christian Grün christian.gr...@gmail.com wrote: Hi Chris, there are various

Re: [basex-talk] UPDINDEX and ever growing index size

2014-08-13 Thread Christian Grün
Hi James, I've just updated the latest snapshot: could you give it another try? Christian __ On Thu, Aug 7, 2014 at 2:26 AM, James Ball basex-t...@jamesball.co.uk wrote: Hi Christian, I've been following along with your snapshots and I think there's a

[basex-talk] Apply variable argument list to anonymous function

2014-08-13 Thread Marc van Grootel
Hi, I am trying to call an anonymous function with a variable argument list. Maybe I'm overlooking something within XQuery but I cannot figure out how to do this. This is the code I would like to get working. declare function local:apply($fn, $args) { $fn($args) }; declare variable

Re: [basex-talk] Apply variable argument list to anonymous function

2014-08-13 Thread Dirk Kirsten
Hi Marc, interesting question! Although I don't actually now the answer, I think there is an easy work-around for this one. Simply use string-join() instead of concat, i.e. declare variable $concat := fn:string-join#1; It will yield the same result. I don't actually know how to properly