Say three documents with structure below:
test
a
a1a1d3/a1
a2a2d3/a2
ddd3/d
cccvery big -cc2/cc/c
cccvery big -cc2/cc/c
cccvery big -cc3/cc/c
ee1d3/e
/a
/test
fragmented:
fragment root cc
/test fragment root
/cc three more fragment roots
/cc
/cc
A search is performed, say
Hi,
I am using Marklogic recordloader to upload files to ML database. When running
the recordloader as a standalone application in java, it works fine. However
when trying to run the same from an Spring MVC project, it throws error. I am
using ML version 6. The method of invocation is:
Hi,
When we are trying to upload pdf and image its working perfectly in ML5.
Same I am trying to upload into ML6 it's not uploading. Throwing document is
not UTF-8 encoded.
RecordLoader Properties file
CONNECTION_STRING=xcc://test:test@localhost:8010/test
INPUT_STRIP_PREFIX=^[A-Z]:
Hi All,
I have a problem while creating txt file seperated by |.
The files is getting inserted into DB but, starting from the second line,
an extra space is getting inserted to each new line.
How do I remove the space in each new line?
My code is as below.
return
(text{
From your other email:
RecordLoader starting, version 2010-03-15.1 on 1.6.0_31 (Java(TM) SE
Runtime Environment) Cp1252
Your JVM is running in a Cp1252 environment. Change that to UTF-8.
-- Mike
On 23 Apr 2013, at 06:51 , Mohanraj Chozhan mohanraj_choz...@infosys.com
wrote:
Hi,
The most important line is:
Caused by: com.marklogic.recordloader.FatalException: The XPP3 patch
version is too old
Looking in the logs I see:
Apr 23, 2013 6:41:32 PM com.marklogic.recordloader.Loader getXppVersion
INFO: XPP3 version = 1.1.3.4d_b4_MIN
That looks like a very old
The extra fragment accesses are due to the extra fragments. The evaluator
doesn't know that the full XPath matches without checking the parent fragment,
and it does this once per match.
You could try cts:search(//cc, cc1, filtered) instead. But the evaluator
may still need to traverse the full
Hi Sini,
Use concat to append the newline, instead of returning a text node and a
string separately, like this:
return
(text{
fn:concat(
fn:string-join(
(xs:string($identifier),
xs:string(4),
xs:string(TOUGV),
Hi All,
What ODBC driver required to be installed(Unix Box) to communicate MarkLogic
with Inforamtica over ODBC server.
Please advise!!!
Thanks
-Abhishek
=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or
Hi Abhishek,
The ODBC driver we have is for Windows:
http://developer.marklogic.com/products/odbc
We have tested it with Tableau and Cognos, but it might work with other tools
(we have anecdotal evidence that it does). You can use that to communicate
with MarkLogic Server running on any
Hi Everyone,
Say I have an amped function to set doc permissions. E.g.
declare function my:document-set-permissions(
$URI as xs:string,
$permissions as element()*
) as empty-sequence() {
try {
let $query := '
declare variable $URI external;
declare variable
Why call eval?
-- Mike
On Apr 23, 2013, at 21:41, Tim Finney t...@tfinney.net wrote:
Hi Everyone,
Say I have an amped function to set doc permissions. E.g.
declare function my:document-set-permissions(
$URI as xs:string,
$permissions as element()*
) as empty-sequence() {
try {
Mike,
Sorry, I should have added that I might want to use options with
xdmp:eval. E.g.
my:doc-perms-set($URI, $perms, $DB) {
let $query := ...
let $args := ...
let $options := options xmlns=xdmp:eval
database{xdmp:database($DB)}/database
/options
return
Hi Tim,
Put your permissions into a map:map, or put all your args into it, and
pass that through to the eval. That is the only safe way to pass through
sequences..
Kind regards,
Geert
-Oorspronkelijk bericht-
Van: general-boun...@developer.marklogic.com [mailto:general-
The only way? Actually no, you can also convert sequences to an element
tree, but map:map is usually most convenient as it preserves types etc...
Grtz
-Oorspronkelijk bericht-
Van: Geert Josten [mailto:geert.jos...@dayon.nl]
Verzonden: woensdag 24 april 2013 7:37
Aan: MarkLogic
Thanks Geert!
On 04/24/2013 01:36 PM, Geert Josten wrote:
Hi Tim,
Put your permissions into a map:map, or put all your args into it, and
pass that through to the eval. That is the only safe way to pass through
sequences..
Kind regards,
Geert
-Oorspronkelijk bericht-
Van:
json:array will work as well as a single object to hold a sequence
Sent from my iPad (excuse the terseness)
David A Lee
d...@marklogic.com
812-630-7622
On Apr 23, 2013, at 10:44 PM, Tim Finney t...@tfinney.net wrote:
Thanks Geert!
On 04/24/2013 01:36 PM, Geert Josten wrote:
Hi Tim,
17 matches
Mail list logo