with Node)
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
___
General mailing list
General@developer.marklogic.com
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general
does, and it
proved to make a few problems easier to solve that way. So we have
something PROV-compatible now (so most likely we'll use actual PROV
triples), and yes, we use TDE to project the semantic layer on top of the
canonical entities ;-)
Thank you,
--
Florent Georges
H2O Consulting
I don't think there is any implementation of the EXPath
Crypto spec that does not depend on extensions from other products (BaseX,
Saxon or eXist). If you found one, I would appreciate if you could share
it here :-)
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 15
Hi Siva,
I am not aware of any implementation of EXPath Crypto for MarkLogic. I
think there is one for BaseX, one for eXist, it might be implemented in
Saxon as well, but I do not think there is one for MarkLogic, sadly.
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 12
several metadata (ref-1, ref-2, ref-3...)
Have I forgot anything?
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 22 March 2018 at 21:09, David Gorbet wrote:
> What is the actual business meaning of the relationships between the
> documents? And is there something in the
rator, and have TDE to expose as many triples as
there are URIs. But I am not definitely sure I can access metadata in TDE
(and loop over tokenize($value, '|') to create several triples).
Am I missing anything obvious?
Regards,
--
Florent Georges
H2O Consulting
h
able1', 'variable2')
Not that it is a recommended practice though.
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 19 March 2018 at 16:07, Ron Hitchens wrote:
>
>Each module should have a unique namespace.
>
>
> Ron Hitchens r...@o
Hi,
In https://docs.marklogic.com/guide/jsref/api#id_19160 (section "Node
Object for XML Nodes"), the table says "localname" instead of
"localName" (with an uppercase "N").
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
___
Hi,
Are the XPath and XQuery operators (defined in F&O as functions in the op:*
namespace) available as actual function from SJS?
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
___
General mailing list
Gen
of how it
lets you browse documents and collections in a "directory-like fashion"
(exposes document URIs as if they were composed of directories, e.g. using
the delimiter "/").
You can also browse triples with the same tools.
Feedback welcome :-)
Regards,
--
Flore
Well, yes, as simple as that :-) Thank you!
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 15 February 2018 at 15:50, Christopher Hamlin wrote:
> Maybe http://docs.marklogic.com/xdmp.setResponseEncoding
>
>
> On Thu, Feb 15, 2018 at 4:09 AM, Florent Georges
>
Hi,
I am using SJS, and I would like to set the encoding used for serializing
the response (a bit like xdmp:output or output:* for XQuery).
Extra points if it is possible to use it "dynamically" (e.g. depending on
an if/then/else condition).
Any idea? Regards,
--
Florent G
Just in case, you can confirm that the node you are about to delete is
indeed from a stored document with something like the following :
xdmp:log(fn:document-uri(fn:root($node)))
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 31 Jan 2018 18:47, "Lanz" wrote:
> Hi M
Salut Lancelot,
I might have missed it, but what is the exact symptom? Any error message?
Have you tried the "real" script through QConsole? Any chance you simplify
it and post it here? More pairs of eyes might catch something you missed...
Regards,
--
Florent Georges
H2O Consu
Hi Evan,
The error is logged only if it "reaches the top", that is, if it is not
caught.
If the error shouldn't behave as such, can't you just catch it before? (and
yes, potentially return wathever HTTP response you deem appropriate).
Regards,
--
Florent Georges
: [Event:id=debug] 0: , 1: , 2:
I feel like I am missing the obvious here. Any idea?
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
___
General mailing list
General@developer.marklogic.com
Manage your subscription at:
http
block, and on exiting the block we use either the new copy, or the old one
in case of an error...
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 11 December 2017 at 16:27, Mary Holstege wrote:
>
> Updates within the body of the try will be abandoned; updates bef
ffect('before'),
try {
local:recurse(('one', 'two'))
}
catch * {
'Caught error in main module'
},
local:side-effect('after')
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
___
General mailing list
General@developer.marklogic.com
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general
s to a document.
Ot is it more like a non-intrusive envelope pattern (it does not modify the
content itself), not requiring new fragments (like doc properties), but
having to be indexed one by one explicitly?
Anyway, thank you for your answer!
Regards,
--
Florent Georges
H2O Consulting
http:/
x27;, 'bar'))
Have I missed something?
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
___
General mailing list
General@developer.marklogic.com
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general
le only once with several capabilities):
"permissions":
[ { "role-name": "reader", "capabilities": ["read"] },
{ "role-name": "writer", "capabilities": ["read", "update"] } ]
Very unfortunate, as
Hi Geert,
Thank you. When I try to install it, it tells me that...
Package glibc-2.17-196.el7.x86_64 already installed and latest version
Do you have a version above 2.14, or is it exactly 2.14?
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 28 November 2017 at 06:42
trictive (to require 2.14 exactly and not accept 2.17)?
Did any one experienced this before?
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
___
General mailing list
General@developer.marklogic.com
Manage your subscription at:
http:
R) Payload has errors in
structure, content-type or values. Unexpected element: role-name
(not in schema)
The following request succeeds (with no permissions property):
{ "role-name": "reader",
"description": "Test role 1." }
Did I
the try to switch to the Search API.
But if it is not possible to configure several elements for the
un-constraint terms, I guess the solution is rather to implement and parse
my own grammar, and generating the snippets using CTS... :-(
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consul
ement-word-query(),
for a simple term search string?
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 23 October 2017 at 17:44, Geert Joste wrote:
> I think I would use a field for this..
>
> Cheers,
> Geert
>
> From: on behalf of Florent
> Georges
el I am missing something obvious here. How is it possible to restrict
a full text search to a set of element names using search:search()?
Regards;
--
Florent Georges
H2O Consulting
http://h2o.consulting/
___
General mailing list
General@developer.marklogi
wrote:
>
> text/xml
> Thu, 20 Jul 2017 07:35:19 GMT
> bytes
> "1a67d5bc2a1d31:0"
> Microsoft-IIS/8.0
> ASP.NET
> Sat, 14 Oct 2017 19:11:29 GMT
> 83144
>
>
>
> On Sat, Oct 14, 2017 at 3:32 PM, Florent Georges
> wr
Hi,
You use an HTTP source. What are the returned headers, esp. the
Content-Type? You can find out easily in QConsole by using xdmp:http-get().
Regards,
--
Florent Georges
http://fgeorges.org/
http://h2o.consulting/ - New website!
On 14 October 2017 at 12:48, Zakiya Tamimi wrote:
> I h
Yes, that is what I tried to say right after the payload snippet. I cut it
down for readability, but it does contain the 4 items in the array.
The error was somewhere else (between my chair and my keyboard), as
explained in my own response.
Thank you Jim,
--
Florent Georges
H2O Consulting
it.
I made a typo in the paths, and 2 entries were identical, hence the error.
Sorry for the noise. Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 21 September 2017 at 13:07, Florent Georges wrote:
> Hi,
>
> I want to update the path range indexes on a databas
(so I update the
entire property to the total 4 indexes). This is the same strategy I use
for other range indexes.
I receive a ADMIN-DUPLICATECONFIGITEM error:
Database resource 'xxx' already contains 'range-path-index'
Any idea? Isn't it possible to updat
Hi Jim,
Damn, got caught by this one again. Thanks for the reminder.
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 21 September 2017 at 12:51, Jim Fuller wrote:
> for json payloads, the convention is to use the singular for
> array keynames
>
> {
>
quot;http://example.com/";
}]}
I then get a MANAGE-INVALIDPAYLOAD error:
Unexpected element: prefix (not in schema)
Any idea what's wrong?
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
___
General mailing list
G
ue"
}
> http -A digest -a usr:pwd :8002/v1/rest-apis/App-Services
HTTP/1.1 200 OK
Connection: Keep-Alive
Content-Length: 377
Content-Type: application/xml; charset=UTF-8
Keep-Alive: timeout=5
Server: MarkLogic
http://marklogic.com/rest-api"
marklogic.com/cts:element-values
[2] http://docs.marklogic.com/guide/search-dev/lexicon
--
Florent Georges
H2O Consulting
http://h2o.consulting/
___
General mailing list
General@developer.marklogic.com
Manage your subscription at:
http://developer.markl
,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
___
General mailing list
General@developer.marklogic.com
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general
7;)
.collections('adults/only')
.documents()
.where(...)
.result();
So collections([A, B]) is the union of A and B, whilst
collections(A).collections(B) would be their intersection.
But just an idea... ;-) Regards,
--
Florent Georges
H2O Consulting
http://h2o.consult
Thank you, Erik! I hoped there was a ready-to-use function for that.
Thank you for confirming there is none.
I definitely owe you a drink of your choice after the past few days :-)
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 1 August 2017 at 15:10, Erik Hennum wrote
Hi,
The jsearch.collections() function uses the union of the collections. Is
there another function for the intersection instead? That is, to select
all documents tagged with ALL the given collections (instead of ANY of
them).
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting
, but that is besides
the point :-) At least I know now that this is the intended behavior.
Thank you, again :-)
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 30 July 2017 at 20:54, Erik Hennum wrote:
> Hi, Florent:
>
> The mime type mapping for the extension takes p
Result is:
/test/file-text.xqy - text
/test/file-xml.xqy - text
/test/file-json.xqy - text
/test/file-bin.xqy - text
/test/file-text.xxx - text
/test/file-xml.xxx - xml
/test/file-json.xxx - json
/test/file-bin.xxx - binary
--
Florent Georges
H2O Consulting
http://h2o.consulting/
___
General mailing list
General@developer.marklogic.com
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general
LF or to return a 400 instead with a meaningful message).
But as far as I am concerned, problem solved ;-) Thank you, Erik!
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 30 July 2017 at 16:09, Erik Hennum wrote:
> Hi, Florent:
>
> I'm wondering whether
tadata") then ()
else docmodupd:parse-metadata-map($curr-uri,$content-type,$body)
But then, it is beyond my knowledge...
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 30 July 2017 at 11:41, Florent Georges wrote:
> Hi,
>
> I am trying to use the POST /v1/documen
ot;application/json"
},
data: body
});
Here is the example using PUT, and indeed working fine:
'use strict';
xdmp.httpPut(
'http://localhost:8000/v1/documents?uri=/test/single.json', {
authentication : {
method : 'digest',
rying to do something different, or
there is maybe some misunderstanding about the inference model in MarkLogic.
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 19 July 2017 at 12:10, Ghislain Atemezing-Pro wrote:
> My intention is not to judge the complexity of count
dules database and a
watch command is good enough for me, more than taking any risk with windows
config options.
Thanks for the suggestion though.
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 18 July 2017 at 18:57, Tim Meagher wrote:
> Hi Florent,
>
> I don’t kno
happen :-)
Thank you for your detailed explanation, that was helpful!
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 18 July 2017 at 10:52, Anne Taylor wrote:
> Hi Florent,
>
>
>
> Your drive mapping will be configured for _*you*_, when you are logge
x27;c:/')
But if I change c:/ by p:/, MarkLogic says it cannot find the path. On ML
9.2. From QConsole. The drive P: is accessible from all apps, including
Cygwin for instance.
Any idea what's wrong? Any chance it is on ML side?
Regards,
--
Florent
Hi,
Not really an answer, but a suggestion: if it is for benchmarking only, the
easiest is probably to disable authentication at all (in your app server
properties.)
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 7 Jul 2017 11:48 am, "Ghislain Atemezing"
wr
I have no idea what you are talking about.
May I remind you that this is a public, archived mailing-list? Be careful
with the information you post here. There is no way back.
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 29 June 2017 at 18:19, Yother, Michael B wrote
Until there is a good reason (and there doesn't seem to be one here), I am
certainly not granting access to a database to anyone.
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 29 June 2017 at 17:35, Yother, Michael B wrote:
> I’m inquiring about access to ML serve
Hi,
Not sure you're replying to the right email? If you are, then I am not
sure what your question is. Jim's suggestion indeed solves my issue.
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 29 June 2017 at 17:18, Yother, Michael B wrote:
> Do we
Hi,
Ah, right, the internal ID for "no database". Didn't think about that.
Good enough for me (and yes, I confirm it does work) :-)
Thank you, Jim! Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 29 June 2017 at 13:03, Jim Fuller wrote:
> yes I belie
"messageCode": "XDMP-VALIDATEBADTYPE",
"status": "Bad Request",
"statusCode": "400"
}
}
Thank you. Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
___
General mailing list
General@developer.marklogic.com
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general
you most likely want
text/plain.
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 23 June 2017 at 16:39, Eliot Kimber wrote:
> OK, I think I got it sorted, although I’m not sure I understand why it
> needs to be this way.
>
> On my curl command I added:
rn addressing the issue in MarkLogic?
Any thought on this?
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
___
General mailing list
General@developer.marklogic.com
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general
/json";;
declare variable $obj external;
json:array-values($obj) ! map:get(., 'name')`,
{ obj: [{ name: 'name', title: 'title' }] });
Thank you! Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 17 June 2017 at 08:11, Erik Hennum wrote:
&g
like a sequence of items does not work.
This modified example gives this extra complexity:
xdmp.xqueryEval(
`declare variable $obj external;
$obj ! map:get(., 'name')`,
{ obj: [{ name: 'name', title: 'title' }] });
Regards,
--
Florent Georges
H2O Consulting
me', title: 'title' });
I am using ML 9.
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
___
General mailing list
General@developer.marklogic.com
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general
"
Hope that's helpful to some of you. Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
___
General mailing list
General@developer.marklogic.com
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general
Hi,
It seems 10 Mb is already too large for your browser then.
It sounds like you should either use queries to retrieve smaller, relevant
parts of the documents, or use another tool than QConsole to browse the
database content.
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting
nsole/tree/develop.
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 9 June 2017 at 15:36, ? wrote:
> Hi Guys ,
>
> Need some help here.
>
> I ingested a couple of xmls using MLCP and the file sizes are around 7-8
> MB each.
>
> While trying to see the co
as you said the document is properly
overridden.
If this does not answer your question, I am afraid you'll need to
rephrase it, and give us more details.
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 1 June 2017 at 14:05, Rajesh Kumar wrote:
> Hi Team,
>
&
RTFM...
https://upload.wikimedia.org/wikipedia/commons/3/3b/Paris_Tuileries_Garden_Facepalm_statue.jpg
Thanks, Geert!
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 29 May 2017 at 21:42, Geert Josten wrote:
> http://docs.marklogic.com/xdmp:invoke
>
> $path The path of t
be nice not to
have
to rely on string concatenation and eval. You know, little bobby tables...
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
___
General mailing list
General@developer.marklogic.com
Manage your su
Hi,
What do you mean by "after save the name appears as"? 99% of the time in
similar cases, the diagnostic is wrong. It is rather that the method used
to display the file does not display it as UTF-8, but the file itself is
correct.
Regards,
--
Florent Georges
H2O Consu
users, or it won't even see them) (well, it's a
bit more complex than "admin privileges", but just use the admin user, or
read the security guide).
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 25 April 2017 at 19:11, thichxai wrote:
> I am newbie. H
odes as direct children, intermingled with other elements
like B or EM or SPAN containing text nodes or other such elements
themselves.
Regards,
--
Florent Georges
H2O Consulting
\http://h2o.consulting/
On 13 April 2017 at 15:55, Steiner, David J. (LNG-DAY) wrote:
> Hi Geert,
>
>
>
>
You should be OK with xs:date (using ISO format).
On 11 Apr 2017 19:31, "Oleksii Segeda" wrote:
> Hi everyone,
>
>
>
> The docs says that xdmp:parse-dateTime will not return the correct
> dateTime value for dates before October 15, 1582. What should I use for
> dates before October 15, 1582?
>
>
/mlproj/tree/master/test/environs.
The goal is not really to compete with Roxy (yet :-p), but rather to try
and see where we can go with an alternative that does not have to guarantee
backward compatibility.
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 29 March 2017 at 05
l take feedback
into account, especially features that newcomers and day-to-day users think
are important.
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 28 March 2017 at 16:49, Andreas Hubmer wrote:
> Hi Florent,
>
> Sounds interesting.
>
> From what I
es
mentioned in the first paragraph.)
Thank you for your interest :-) Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 27 March 2017 at 18:40, Dave Cassel wrote:
> Hi Florent,
>
> Could you comment on how mlproj is different from mlsound, which is also a
> Managem
on
http://github.com/fgeorges/mlproj.
Have fun!
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
___
General mailing list
General@developer.marklogic.com
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo
is OK, and indeed the fact that it
returns an error in response to a HTTP request was expected.
So it seems there is something else, then. ..
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 24 March 2017 at 16:48, Mary Holstege wrote:
>
> The error is misleading: the
ed to make sure you use the same host and port number you
configured ODBC with, and issue it from the same machine you issue ODBC
requests from.
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 23 March 2017 at 17:47, Nick Heidke wrote:
> All-
>
>
>
> Ar
r solution.
Just my 2 cents. Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 22 March 2017 at 14:14, Martijn Sintemaartensdijk wrote:
> Dear Lucas,
>
> judging from your command, I think your input file contains an
> XML-starttag "" and corresponding end
from the command line.
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 10 March 2017 at 17:55, Kaza, Sriram wrote:
> I executed the Self-paced Developer's XQuery class code for creating an
> HTTP AppService for 8030-world-leaders and placed hello.xqy in
on (if you have
enough control on the input or if it has been validated already), this at
least looks like a solution to me. Still a bit of checks with the ID and
name you use to concatenate the string would not harm, but I guess that was
beyond the point of your question.
Regards,
--
Florent G
Hi,
I use the Management API to detach a forest, as documented in [1]. The doc
says it returns 202 in case of success, but it actually returns 200.
Bug in the doc?
[1] https://docs.marklogic.com/REST/POST/manage/v2/forests/[id-or-name]
Regards,
--
Florent Georges
H2O Consulting
http
Thank you, Jim!
I was using Postman to try and organize a collection of requests for
sharing, but having a directory of shell scripts using cURL (or better,
HTTPie) is probably simpler.
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/ - New website!
On 16 February 2017 at 15
\
--header "Content-Type:application/json" \
-d'{ "database-name": "foo-content" }' \
http://ml9ea4:8002/manage/v2/databases
Any idea what can cause the 403? Anyone experienced this already?
Regard
$elem/node() instance of element()
The value of $elem in this last code is the following (which makes
sense, right?, what else could it be?):
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/
On 15 February 2017 at 11:37, Erik Zander wrote:
> Hi All,
>
; instead of "result()", twice.
Regards,
--
Florent Georges
H2O Consulting
http://h2o.consulting/ - New website!
___
General mailing list
General@developer.marklogic.com
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general
again, it returns the following error:
{"errorResponse": {
"statusCode":"400",
"status":"Bad Request",
"messageCode":"MANAGE-CONFLICTINGCONFIG",
"message":"MANAGE-CONFLICTINGCONFIG: (err:FOER) A co
ut I get the following error instead:
"Entity not created: MANAGE-CONFLICTINGCONFIG: (err:FOER) A conflict
has been detected: database configurations differ."
Is this the expected behavior? I could not find a definitive answer in the
documentation.
Regards,
--
Florent Georges
http:
twice with the same parameters?
Does that prevent any optimisation opportunities? Or is the CTS query
passed to the store constructor evaluated every time by sem.sparql()
anyway?
Regards,
--
Florent Georges
http://fgeorges.org/
http://h2o.consulting/ - New website!
_
Hi Gary,
If MarkDown is handled on the client, e.g. using something like
marked.js, an alternative is to handle the formatting of the JSON
snippets on the client as well (directly in JS in the browser).
Regards,
--
Florent Georges
http://fgeorges.org/
http://h2o.consulting/ - New website!
On
with "throw 'Hello, world!';"
- create zzz/handler.sjs with "errors;"
Then go to http://localhost:xxx/index.sjs. This returns
"ReferenceError: errors is not defined".
--
Florent Georges
http://fgeorges.org/
http://h2o.consulting/ - New website!
On 28
Hi,
In an error handler in XQuery, I can access the originally thrown
error by binding specific external variables. But I cannot find any
information on how to do this with JavaScript.
Any pointer? On latest ML 8 (info specific to ML 9 EA welcome as well).
Regards,
--
Florent Georges
http
g else, it depends on that "anything else"...
Regards,
--
Florent Georges
http://fgeorges.org/
http://h2o.consulting/ - New website!
On 17 November 2016 at 12:46, sweet frd wrote:
> Hi All,
>
> I have a module somemodule.xqy which has the following line for logic
>
&g
Hi,
Johan does not seem to have got any answer on this one. Is it a hard
limit, to be less than 1,500 chars for a regex? Is this limit going to be
kept in ML9?
Just curious...
Regards,
--
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
On 22 August 2016 at 13:41, Florent
It looks like you try to read a document you inserted in the same
transaction. Which is in contradiction with how transactions work on
MarkLogic.
You can think of it as the following simplification: all changes to
documents (including inserting new ones) are accumulated whilst your code
is executi
You can use format-date():
format-date(current-date(), '[F]') = ('saturday', 'sunday')
Regards,
--
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
On 14 October 2016 at 09:56, Debin, Infant Jerald (LNG-CON) wrote:
> Hi All,
>
>
>
>
ex(?s, ?re) )
FILTER( ! isBlank(?s) )
}',
map:entry('re', '.*[/#]?[^#/]*' || $input || '[^#/]*$'))
Regards,
--
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
On 25 September 2016 at 21:59, Geert Josten wrote:
> Hi Fl
xyz
http://example.org/proj/component#abc-xyz
http://example.org/proj/component/abc-xyz-123
But I am not quite sure what would be the correct way to use the
triple index for this, potentially on large data sets. Any idea?
Regards,
--
Florent Ge
Hi Mark,
Depends on the details of how and why you want this, but Flexible
Replication might be what you're looking for here.
Regards,
--
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
On 23 September 2016 at 23:41, Mark Shanks wrote:
> Hi,
>
> We are trying to
per se, just the value it holds)
The following seems to do what you want (given the assumptions above):
let $seconds := 1458797764507
return
xs:dateTime('1970-01-01T00:00:00+00:00')
+ xs:dayTimeDuration('PT' || ($seconds div 1000) || 'S')
Regards,
--
Flore
nds || 'S')
Regards,
--
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
On 23 September 2016 at 09:14, Debin, Infant Jerald (LNG-CON) wrote:
> Hi,
>
>
>
> Is there a way to convert the unix timestamp to HH/MM/SS format in marklogic
> using xquery.
&
Hi Justin,
I see... Not an easy one. Especially when these definitions are used to
create the TypeScript definition files, and then TypeScript insists that
you have an object, not a string (fortunately in this case, toString() is
our friend) :-)
Regards,
--
Florent Georges
http
1 - 100 of 448 matches
Mail list logo