[MarkLogic Dev General] Speeding up access to large XML file

2016-06-22 Thread Hans Hübner
ke this lookup to complete in under a millisecond, but it seems to need 75ms right now. Any help speeding this up would be greatly appreciated! Thanks, Hans -- LambdaWerk GmbH Oranienburger Straße 87/89 10178 Berlin Phone: +49 30 555 7335 0 Fax: +49 30 555 7335 99 HRB 169991 B Amtsgericht C

Re: [MarkLogic Dev General] Speeding up access to large XML file

2016-06-22 Thread Hans Hübner
x27;))) > for $key in cts:element-values(xs:QName("k"), (), (), $q1) > let $q2 := cts:and-query((cts:document-query("file2.xml"), > cts:element-range-query(xs:QName("d"), '=',$key))) > let $data-from-file-2 := cts:element-values(xs:QName("f&quo

Re: [MarkLogic Dev General] Speeding up access to large XML file

2016-06-23 Thread Hans Hübner
and cts queries, >> please refer >> https://developer.marklogic.com/pubs/architecture/inside-marklogic-server-r7.pdf >> >> >> Hope that helps! >> >> Regards, >> Indy >> >> >> On Thu, Jun 23, 2016 at 12:03 PM, Hans Hübner < >> hans.hu

Re: [MarkLogic Dev General] Speeding up access to large XML file

2016-06-23 Thread Hans Hübner
ce to ask for one? Thanks for your help anyway! Hans -- LambdaWerk GmbH Oranienburger Straße 87/89 10178 Berlin Phone: +49 30 555 7335 0 Fax: +49 30 555 7335 99 HRB 169991 B Amtsgericht Charlottenburg USt-ID: DE301399951 Geschäftsführer: Hans Hübner http://lambdawerk.com/

[MarkLogic Dev General] Bulk updates (xqsync vs. mlcp)

2016-06-27 Thread Hans Hübner
Hi, we're planning to use MarkLogic to do regular bulk updates on a larger set of documents (~1 million). Many of the documents will be unchanged from their previous version, and we'd like to avoid reinserting them as we want to be able to use the point-in-time query feature to track document cha

Re: [MarkLogic Dev General] Bulk updates (xqsync vs. mlcp)

2016-06-28 Thread Hans Hübner
nburger Straße 87/89 10178 Berlin Phone: +49 30 555 7335 0 Fax: +49 30 555 7335 99 HRB 169991 B Amtsgericht Charlottenburg USt-ID: DE301399951 Geschäftsführer: Hans Hübner http://lambdawerk.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general

Re: [MarkLogic Dev General] Bulk updates (xqsync vs. mlcp)

2016-06-29 Thread Hans Hübner
t; allows you to query the valid time of the document (e.g. a trade was > effective on 2016-06-01) as you knew it at any point in time (e.g. the > trade wasn't recorded until 2016-06-02 and then it was corrected on > 2016-06-05). > > Justin > > > On Jun 28, 2016, at 9:55

Re: [MarkLogic Dev General] Bulk updates (xqsync vs. mlcp)

2016-06-29 Thread Hans Hübner
Travel" feature be listed in the documentation. -Hans -- LambdaWerk GmbH Oranienburger Straße 87/89 10178 Berlin Phone: +49 30 555 7335 0 Fax: +49 30 555 7335 99 HRB 169991 B Amtsgericht Charlottenburg USt-ID: DE301399951 Geschäftsführer: Hans Hübner http://lambdawerk.com/

Re: [MarkLogic Dev General] Bulk updates (xqsync vs. mlcp)

2016-06-30 Thread Hans Hübner
d thus be avoided? Thanks! Hans -- LambdaWerk GmbH Oranienburger Straße 87/89 10178 Berlin Phone: +49 30 555 7335 0 Fax: +49 30 555 7335 99 HRB 169991 B Amtsgericht Charlottenburg USt-ID: DE301399951 Geschäftsführer: Hans Hübner http://lambdawerk.com/ ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general

Re: [MarkLogic Dev General] Bulk updates (xqsync vs. mlcp)

2016-07-03 Thread Hans Hübner
On Sun, Jul 3, 2016 at 4:41 PM, Jason Hunter wrote: > After reading Justin's follow up, I think you'll agree there's no need to > update the IMLS section? > Yes. The discussion lead us to a much better understanding and we're going to reengineer the part of our application that relies on databa

[MarkLogic Dev General] mlcp and loading multiple files

2016-07-03 Thread Hans Hübner
Hi, I'm trying to load a bunch of files into MarkLogic using mlcp, but for some reason, it seems that it skips some of the files. I'm using a command line like this: mlcp.sh import \ -database tx-claims \ -host marklogic -port 8884 -username XXX -password XXX -mode local \ -input_

Re: [MarkLogic Dev General] mlcp and loading multiple files

2016-07-03 Thread Hans Hübner
Hi Indy, thank you for the suggestion. When I switched to -thread_count 1, things did not work at all anymore (see below). Again, there is nothing in the error log. Is there any other place that I could look at for diagnostics? -Hans 16/07/03 20:22:42 INFO contentpump.LocalJobRunner: Content

Re: [MarkLogic Dev General] mlcp and loading multiple files

2016-07-03 Thread Hans Hübner
Ideas, anyone? Thanks! -Hans On Sun, Jul 3, 2016 at 8:31 PM, Hans Hübner wrote: > Hi Indy, > > thank you for the suggestion. When I switched to -thread_count 1, things > did not work at all anymore (see below). Again, there is nothing in the > error log. Is there any other place that

Re: [MarkLogic Dev General] mlcp and loading multiple files

2016-07-04 Thread Hans Hübner
Hi Hans, > > My first thought would be that the uris you calculate might not be unique. > Did you verify that? You can append xdmp:random() to see if that makes a > difference.. > > Cheers, > Geert > > From: on behalf of Hans Hübner < > hans.hueb...@lambdawerk.

Re: [MarkLogic Dev General] mlcp and loading multiple files

2016-07-04 Thread Hans Hübner
ar yet though. Are you entitled to support? In that case > you can file a bug report with them. Nothing in the ErrorLog about failed > inserts? > > Cheers, > Geert > > From: on behalf of Hans Hübner < > hans.hueb...@lambdawerk.com> > Reply-To: MarkLogic Developer Di

Re: [MarkLogic Dev General] mlcp and loading multiple files

2016-07-05 Thread Hans Hübner
s the percentage of the input data that was loaded into the database, not the number of records read from the input. That could be improved, I think but it does not seem to be very important. Thank you Indy and Geert for looking at this! -Hans On Sun, Jul 3, 2016 at 7:52 PM, Hans Hübner wrote: > Hi,

[MarkLogic Dev General] Analyze XQuery?

2016-08-02 Thread Hans Hübner
parse the XQuery myself. Thanks, Hans -- LambdaWerk GmbH Oranienburger Straße 87/89 10178 Berlin Phone: +49 30 555 7335 0 Fax: +49 30 555 7335 99 HRB 169991 B Amtsgericht Charlottenburg USt-ID: DE301399951 Geschäftsführer: Hans Hübner http://lambdawerk.com

Re: [MarkLogic Dev General] Analyze XQuery?

2016-08-02 Thread Hans Hübner
feature/projects" in dir "src/project/" (look in "parser/lib/") > < > https://github.com/fgeorges/expath-ml-console/tree/feature/projects/src/project/parser/lib > >. > > Regards, > > -- > Florent Georges > http://fgeorges.org/ > http://h2o

[MarkLogic Dev General] Inserting documents with XSLT

2016-10-07 Thread Hans Hübner
ld be inserted directly, without first instantiating all of them in memory. Thanks, Hans -- LambdaWerk GmbH Oranienburger Straße 87/89 10178 Berlin Phone: +49 30 555 7335 0 Fax: +49 30 555 7335 99 HRB 169991 B Amtsgericht Charlottenburg USt-ID: DE301399951 Geschäftsführer: Hans Hübner http://lambdawer

[MarkLogic Dev General] MarkLogic developer job in Berlin

2016-10-21 Thread Hans Hübner
d regards, Hans -- LambdaWerk GmbH Oranienburger Straße 87/89 10178 Berlin Phone: +49 30 555 7335 0 Fax: +49 30 555 7335 99 HRB 169991 B Amtsgericht Charlottenburg USt-ID: DE301399951 Geschäftsführer: Hans Hübner http://lambdawerk.com/ ___ General maili

[MarkLogic Dev General] Lost admin role...

2017-05-22 Thread Hans Hübner
re any way to recover from this, other than reinstalling MarkLogic from scratch? Thanks, Hans -- LambdaWerk GmbH Oranienburger Straße 87/89 10178 Berlin Phone: +49 30 555 7335 0 Fax: +49 30 555 7335 99 HRB 169991 B Amtsgericht Charlottenburg USt-ID: DE301399951 Geschäftsführe

Re: [MarkLogic Dev General] Lost admin role...

2017-05-22 Thread Hans Hübner
ing. I've also seen that it is not entirely unlikely that I deleted the role in the web UI when I really wanted to delete a user, but followed the link to the role instead of that to the user. My bad. Thanks for reading :) -Hans On Mon, May 22, 2017 at 8:29 PM, Hans Hübner wrote: > Hi, &

[MarkLogic Dev General] Creating private documents through ReST

2017-05-23 Thread Hans Hübner
89 10178 Berlin Phone: +49 30 555 7335 0 Fax: +49 30 555 7335 99 HRB 169991 B Amtsgericht Charlottenburg USt-ID: DE301399951 Geschäftsführer: Hans Hübner http://lambdawerk.com/ ___ General mailing list General@developer.marklogic.com Manage your subscri

Re: [MarkLogic Dev General] Creating private documents through ReST

2017-05-24 Thread Hans Hübner
ents. > > Instead, you assign the rest-reader and the rest-writer execute privileges > to users. > Thanks, Erik! This helps a lot! -Hans -- LambdaWerk GmbH Oranienburger Straße 87/89 10178 Berlin Phone: +49 30 555 7335 0 Fax: +49 30 555 7335 99 HRB 169991 B Amtsgericht Charlottenburg

Re: [MarkLogic Dev General] MLCP Error Return

2017-06-16 Thread Hans Hübner
error, please contact the sender and delete it from your > computer. > > ___ > General mailing list > General@developer.marklogic.com > Manage your subscription at: > http://developer.markl

Re: [MarkLogic Dev General] MLCP Error Return

2017-06-17 Thread Hans Hübner
Hello Geert, thank you for getting back. I have tried invoking the jar directly, but I still get no meaningful exit status: imogas 1245_% java -cp /opt/mlcp-9.0.1/bin/..//conf:/opt/mlcp-9.0.1/bin/..//lib/avro-1.7.4.jar[ELIDED] -DCONTENTPUMP_HOME=/opt/mlcp-9.0.1/bin/..//lib/ -DBUNDLE_ARTIFACT=apa

Re: [MarkLogic Dev General] MLCP Error Return

2017-06-20 Thread Hans Hübner
on MLCP to continue when an error is encountered, they can have that. I find the overall error handling strategy rather puzzling, though. In my experience, continuing after errors without corrective action calls for trouble. -Hans On Sat, Jun 17, 2017 at 9:09 PM, Hans Hübner wrote: > Hello Gee

Re: [MarkLogic Dev General] MLCP Error Return

2017-06-20 Thread Hans Hübner
nks! > Let me file a bug report for it. Could you tell me MLCP and MarkLogic > version? > We're running MarkLogic 9.0-1.1 and MLCP 9.0.1. I've also filed an issue in GitHub: https://github.com/marklogic/marklogic-contentpump/issues/62 -Hans > Kind regards, > Geer

[MarkLogic Dev General] XDMP-TRPLVALCACHEFULL when using SQL select distinct

2017-06-28 Thread Hans Hübner
duction scenario and would like to give our customer access to it through SQL. Thanks, Hans -- LambdaWerk GmbH Oranienburger Straße 87/89 10178 Berlin Phone: +49 30 555 7335 0 Fax: +49 30 555 7335 99 HRB 169991 B Amtsgericht Charlottenburg USt-ID:

Re: [MarkLogic Dev General] XDMP-TRPLVALCACHEFULL when using SQL select distinct

2017-06-28 Thread Hans Hübner
Sorry for the noise. I found the relevant page in the documentation: https://docs.marklogic.com/guide/semantics/indexes#id_28957 -Hans On Thu, Jun 29, 2017 at 5:52 AM, Hans Hübner wrote: > Hi, > > we're experimenting with Template Driven Extraction and have loaded about

Re: [MarkLogic Dev General] inconsistent index on database with enabled reindexer

2017-07-06 Thread Hans Hübner
ng in failing searches. > > Thanks for your time. > > Best regards, > Max > ___ > General mailing list > General@developer.marklogic.com > Manage your subscription at: > http://developer.marklogic.com/mailma

[MarkLogic Dev General] ML9, mlcp and OOM

2017-07-25 Thread Hans Hübner
ual and resident set size always stay below a certain limit? Any pointers would be greatly appreciated. Thanks, Hans -- LambdaWerk GmbH Oranienburger Straße 87/89 10178 Berlin Phone: +49 30 555 7335 0 Fax: +49 30 555 7335 99 HRB 169991 B Amtsgericht Charlottenburg USt-ID: DE301399951 Geschäftsf

[MarkLogic Dev General] Importing temporal documents with MLCP

2018-02-09 Thread Hans Hübner
Straße 87/89 10178 Berlin Phone: +49 30 555 7335 0 Fax: +49 30 555 7335 99 HRB 169991 B Amtsgericht Charlottenburg USt-ID: DE301399951 Geschäftsführer: Hans Hübner http://lambdawerk.com/ ___ General mailing list General@developer.marklogic.com Manage

[MarkLogic Dev General] Query Console and Database Browsing

2018-03-09 Thread Hans Hübner
? Thanks, Hans -- LambdaWerk GmbH Oranienburger Straße 87/89 10178 Berlin Phone: +49 30 555 7335 0 Fax: +49 30 555 7335 99 HRB 169991 B Amtsgericht Charlottenburg USt-ID: DE301399951 Geschäftsführer: Hans Hübner http://lambdawerk.com/ ___ Gener

Re: [MarkLogic Dev General] Query Console and Database Browsing

2018-03-11 Thread Hans Hübner
ns > Thanks for the pointer, I'll use the expath mailing list for questions. -Hans -- LambdaWerk GmbH Oranienburger Straße 87/89 10178 Berlin Phone: +49 30 555 7335 0 Fax: +49 30 555 7335 99 HRB 169991 B Amtsgericht Charlottenburg USt-ID: DE301399951 Geschäftsführer: Hans Hübner h

[MarkLogic Dev General] XML Developer jobs in Berlin

2018-03-20 Thread Hans Hübner
here: http://lambdawerk.com/xml-developer Apply today! Cheers, Hans -- LambdaWerk GmbH Oranienburger Straße 87/89 10178 Berlin Phone: +49 30 555 7335 0 Fax: +49 30 555 7335 99 HRB 169991 B Amtsgericht Charlottenburg USt-ID: DE301399951 Geschäftsführer: Hans Hübner http://lamb