Re: [basex-talk] BaseX in maven

2015-01-18 Thread Christian Grün
Hi Wendell, hi Dirk, I'd like to jump in: Depending on the use case, I think I can absolutely make sense to work with the snapshot. The more feedback we get on potential errors, the more we'll be forced to keep it as stable as possible, and write more test cases ensuring it. Moreover, obviously,

Re: [basex-talk] module import / base URI declaration

2015-01-18 Thread Hans-Juergen Rennau
Cordial thanks,Christian! Hans-Jürgen Christian Grün christian.gr...@gmail.com schrieb am 14:13 Sonntag, 18.Januar 2015: Hi Hans-Jürgen, the parsing problem has been fixed. Christian On Sat, Jan 17, 2015 at 5:09 PM, Christian Grün christian.gr...@gmail.com wrote: Hi

[basex-talk] XQuery Optimization suggestions

2015-01-18 Thread Mansi Sheth
Hello, I am doing some performance analysis on size of XML files in DB, no of records in a result set and how much time it takes to get me results. Currently, I have 150GB worth of XML documents imported into BaseXDB. It took roughly 21 minutes to return back result set worth 5.3 million

Re: [basex-talk] XQuery Optimization suggestions

2015-01-18 Thread Mansi Sheth
Structure of data is nested, so I have to write queries this way unfortunately. Also, I am doing performance analysis removing all external parameters like any kind of post-processing, network latency etc. Just isolating if I can do any better. So, guess this is the best I can do... No problem at

Re: [basex-talk] XQuery Optimization suggestions

2015-01-18 Thread Christian Grün
Hi Mansi, http://localhost:8984/rest?run=get_query.xqn=/Archives/*/descendant::c/descendant::a[contains(@name,xyz)]/@name/data() My guess is that most time is spent to parse all the nodes in the database. If you know more about the database structure, you could replace some of the descendant

Re: [basex-talk] Linux lessons

2015-01-18 Thread Wendell Piez
Dirk and BaseX friends, On Mon, Jan 12, 2015 at 3:57 AM, Dirk Kirsten d...@basex.org wrote: So if I understood your setup correctly, all BaseX settings in your different projects are the same except the RESTXQ path? So one option could be to set the RESTXQ path manually before starting

Re: [basex-talk] Linux lessons

2015-01-18 Thread Dirk Kirsten
Hi Wendell, no, this will not work with anything before BaseX 8.0. Before, we had another syntax (which had some drawbacks, that's why we changed it and now it also more of a standard within Linux). In this syntax -X served as flag that everything that follows will be interpreted as JVM

[basex-talk] BaseX in maven

2015-01-18 Thread Wendell Piez
BaseX friends, If I run BaseX from Maven, do I always get to use the latest BaseX? Do I have to do anything special to set up BaseX in Maven to use SaxonHE instead of Xalan for xslt:transform()? (I have Saxon9he.jar in my BaseX lib.) Thanks! Wendell -- Wendell Piez |