Re: [basex-talk] Need help on Xquery create Collection using java

2012-10-19 Thread riyaz
Dear lukas, Would there be major code changes required to create collection if I migrate from basex671 to basex-7.3 jar. Because in the first step I am getting new BXCollection(collection, true, objContext) - Can't find symbol constructor. It is taking BxDatabase as third argument.

Re: [basex-talk] Need help on Xquery create Collection using java

2012-10-19 Thread Lukas Kircher
Hi Riyaz, I'm really busy today, but I'll try my best to help you out. 1) You can find a number of [Java examples] in our documentation. 2) There's also a specific code example on creating a [BXCollection] via XMLDB. Please note that the XMLDB section in the [Java examples] is flagged

Re: [basex-talk] Need help on Xquery create Collection using java

2012-10-18 Thread Lukas Kircher
Hi Riyaz, 1) do you use the [latest stable snapshot] or [latest release] of BaseX? 2) Could you equip us with some more facts about your case, like the exact query, the document (structure) or maybe even an SSCCE? You could also send it directly to one of us if you don't want to post it to the

Re: [basex-talk] Need help on Xquery create Collection using java

2012-10-18 Thread Lukas Kircher
Hi Riyaz, that's a good starting point - a huge load of things changed with BaseX since 671, so just have a look. Are you using the full text index? Regards, Lukas On Thu, Oct 18, 2012 at 11:20 AM, riyaz riyaz.ba...@intense.in wrote: Dear Lukas, Thanks for the quick response. 1) I

[basex-talk] Need help on Xquery create Collection using java

2012-10-17 Thread riyaz
Dear Team, This is Riyaz from Hyderabad , India. I have been using X query since one and half year. I need help on the following query. When I add xmls of 199 MB to create collection using new Add(xmlfilepath).execute(context) (JAVA), it is taking 440 MB on hard disk and 3 mins