Christian,
Note that executing within BaseX gui leads to different results, but seems
also to behave non linearly : for instance for $i in (15 to 20) return
prof:time(local:test1($i))
returns random results : for instance
Evaluating:
- 1368.54 ms
- 1314.6 ms
- 5151.12 ms
- 1719.01 ms
- 6023.38 ms
Glory to our holy Leo for transmitting *brahmavidya* to shishya !!
Turning back to this optimization problem, this might be trickier since
execution time does not seem to behave linearly. For instance, consider
declare function local:test1($i){let $data_3 as item() *:= fn:for-each((1
to 100*$
Hi all,
Our friends from eXist (or, more specifically, Adam Retter and Erik
Siegel) have just published an O'Reilly book on the eXist database. It
is available both on paper and as epub [1].
Have fun,
Christian
[1] http://shop.oreilly.com/product/0636920026525.do
Hi Andy,
> I think something like the existdb approach would be more what I would
> expect.
> The ability to config a default http user with reduced permissions, and then
> a way to change the user associated with the session
> e.g. session:set-current-user
> http://exist-db.org/exist/apps/fundocs
Hi Jean-Marc,
beforehand: The first issue you reported back to us recently [1] has
been fixed by our functional guru Leo! A new snapshot is available
[2].
> Hi. Thanks for the FLWOR trick, behaving in constant time. However it seems
> to generates an unexpected 5X time overhead
Most probably thi
The change is not a problem for me, but I am not a security expert ;-)
However if it stays then I guess it means the -U and -P options to
basexhttp are being silently ignored.
I think something like the existdb approach would be more what I would
expect.
The ability to config a default http user w
Hello,
I guess db:path (see http://docs.basex.org/wiki/Database_Module#db:path) is
what you are looking for.
Cheers, Dirk
On 01/13/2015 10:09 AM, nguyen my wrote:
> I want to get the physical path of an item in database by xquery . but
> i don't known how.
> the path as: Users/Emotive/Documents
I want to get the physical path of an item in database by xquery . but
i don't known how.
the path as: Users/Emotive/Documents/Open Test Framework/OtxProject16/ZZZ/OTX
or target path as in BaseX Gui: "/NewDefaultPackage1/"
this is xquery code.
declare default element namespace 'http://iso.org/O
Christian,
Hi. Thanks for the FLWOR trick, behaving in constant time. However it seems
to generates an unexpected 5X time overhead, and I can't use it
straightforwardly as workaround. Can you reproduce it, since this overhead
might be due to eclipse ?
declare function local:test(){fn:for-each(1 t
9 matches
Mail list logo