[MarkLogic Dev General] Disabling triggers, transactions and order of evaluation

2014-11-12 Thread Florent Georges
Hi, I need to disable triggers during some ingestion phase. I had a look at trgr:trigger-enable[1] and trgr:trigger-disable[2], but I am not sure to understand their relationship with transactions. I mean, can I use something like the following: xdmp:eval(trgr:trigger-disable('...'),

Re: [MarkLogic Dev General] XQuery Vs XSLT - Any Performance benefit [I]

2014-11-12 Thread Anthony Coates
Classification: For internal use only Hi Betty. I guess the thing I notice is that you don't have to declare 'keys' in XQuery if you are doing random-access of values throughout the XML, implementations do it for you. Using keys make a huge difference to my XSLT for that kind of use case.

Re: [MarkLogic Dev General] Parameterizing SPARQL Queries

2014-11-12 Thread John Snelson
The SPARQL grammar doesn't allow for variables in the LIMIT and OFFSET clauses. MarkLogic 8 will extend the grammar we accept to allow variables in those places for the purpose of parameterization. John On 11/11/14 23:39, Michael Blakeley wrote: Have you seen

[MarkLogic Dev General] Can't access data in a dependent library while executing a resource extension in Java API

2014-11-12 Thread Tyagi, Devesh
Hi, I have the following configuration of a Rest Instance, root : / port : 10001 modules : dev-rest-modules database : dev-rest The xqueries which I have installed using Java API's ResourceExtension service are stored in 'dev-rest-modules'. A document named with uri '/sample/abc.xml' is

Re: [MarkLogic Dev General] Parameterizing SPARQL Queries

2014-11-12 Thread c-bl...@uchicago.edu
Date: Tue, 11 Nov 2014 15:39:43 -0800 From: Michael Blakeley m...@blakeley.com Have you seen http://stackoverflow.com/questions/24661476/marklogic-how-to-pass-integer-to-semsparql-triples-in-bindings yet? -- Mike No, I hadn't, but it pointed me in the right direction. Thanks. Date:

Re: [MarkLogic Dev General] Hadoop MarkLogic data migration

2014-11-12 Thread Justin Makeig
Yes, mlcp http://developer.marklogic.com/products/mlcp can move data between HDFS and MarkLogic. The Connector for Hadoop http://developer.marklogic.com/products/hadoop can also run Map Reduce jobs with MarkLogic as an Input or OutputFormat. Bring data from Hadoop can mean many things. If you

[MarkLogic Dev General] load xqy into modules database

2014-11-12 Thread Paul M
load xqy module into rest-examples-modules db. I have a text node define for the module. Thanks -Paul ___ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general

[MarkLogic Dev General] Geo-spatial API - Roadside Distance

2014-11-12 Thread Abhishek.Srivastav
Does MarkLogic Geo-spatial APIs provide road distance between two pair of latitude and longitude. Please suggest... Thanks Abhishek This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you

Re: [MarkLogic Dev General] Geo-spatial API - Roadside Distance

2014-11-12 Thread Jaime Alexander Mendez Medina
May be you can download the FAST database (XML +/-300MB) to obtain a global geonames and Lat::Long in DMS (http://fast.oclc.org/ http://fast.oclc.org/), mark point A B, get the difference (A-B) and convert this vector points to any measurement unit or express the linear distance in DMS… (this