Hi David,
What version are you running (the output of xdmp:version() )? And what is the
exact error you are seeing?
Thanks,
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of David Ennis
Sent: Tuesday, May 20, 2014 3:54 PM
To:
Hi Florent,
Is this what you are looking for:
http://docs.marklogic.com/guide/app-dev/properties#id_58787
?
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Florent Georges
Sent: Monday, May 19, 2014 11:59 AM
To: MarkLogic
Another possibility is to set up a path field on doc/@id and set up custom
tokenization on that field so that . is a word token instead of a punctuation
token. Then you can do a field word query on it and it will behave the way you
want it to.
-Danny
From:
And xdmp:directory does not return directories, it returns documents in a
directory (a URI that ends in a “/”).
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Jakob Fix
Sent: Tuesday, May 13, 2014 7:40 AM
To: Florent Georges;
Are you using IE? If so, try it with firefox or chrome, or try using IE in
compatibility mode. There are some known issues with App Builder and Internet
Explorer.
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Kari Cowan
Hi Florent,
Did you import the library:
import module namespace sem = http://marklogic.com/semantics;
at /MarkLogic/semantics.xqy;
?
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Florent Georges
Sent: Tuesday, April
Excellent!
From: Gene Thomas [mailto:thomg...@att.net]
Sent: Saturday, March 29, 2014 11:28 AM
To: Danny Sokolsky; MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] ML 4.2 backup restore to ML 7.x
I was finally able to get the ML 4.2 backup to restore on ML 7.0 by changing
I can't say that I have done this, but I would expect it to work. I would
expect that, as soon as it mounted the db in 7, that it would start reindexing
(if reindexing is enabled).
I would test it first, but I think it will work.
-Danny
From: general-boun...@developer.marklogic.com
)?
-Danny
From: Gene Thomas [mailto:thomg...@att.net]
Sent: Friday, March 28, 2014 2:16 PM
To: Danny Sokolsky; MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] ML 4.2 backup restore to ML 7.x
Thank you Danny,
That is what I am trying to do.
Here is the text of an email I sent
In order to set up failover on a forest, it must be in a directory other than
the default directory. The default directory (/opt/MarkLogic/Forests on linux,
for example) is known as a private directory.
For the procedure to move a forest to a public directory, see this section of
the doc:
the forest.
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Danny Sokolsky
Sent: Monday, March 17, 2014 11:01 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Failed over Security Database
In order to set
Hi Mihir,
If you are using directory scope, your URIs need to be rooted (for example,
with a / character). Since my-uri-something1.xml is not rooted, you cannot
access it with a directory domain. As Mary indicated, you could put it in a
collection and access it that way.
If you want to do
Here is a link to the docs about setting it up:
http://docs.marklogic.com/guide/performance/disk-storage#id_77685
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Harry Bakken
Sent: Friday, March 07, 2014 5:34 AM
To: MarkLogic
And there is one other wrinkle about doing it in 6-range queries do not
contribute to score in MarkLogic 6; they do in MarkLogic 7. Might be a good
excuse to move to 7.
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Erik
You of course would need to bind something to that variable to. Here is an
example without a variable that works:
xdmp:parse-dateTime([Y0001]-[M01]-[D01], 2014-02-19)
-Danny
-Original Message-
From: general-boun...@developer.marklogic.com
I think we need a bit more information to help diagnose this.
What does run-scheduled-events.xqy look like, and what is the exact full stack
of the error. It might have a lot more information in it.
When you say it worked fine on other servers, what exactly do you mean?
-Danny
From:
FWI, the doc for this has been corrected:
http://docs.marklogic.com/pkg
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Will Thompson
Sent: Wednesday, January 15, 2014 2:09 PM
To: MarkLogic Developer Discussion
Subject: Re:
Hi Geert,
Attributes are indexed, but they have no children, so it would not make sense
to have an analogous constructor to element-query for attributes. The
difference with attributes is that you have to ask for them in order to search
for content in them.
-Danny
-Original Message-
You can look at the size of the database, either in the database status page or
using xdmp:forest-status and/or xdmp:forest-counts for each forest in the
database. If you add an index or change index settings for a database, you
can compare the sizes before and after (although merges will
:)
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Will Thompson
Sent: Wednesday, January 15, 2014 2:09 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] ML7 excludes packaging library?
Ah, found it. Thanks
Thanks Ryan, we will try and get this in the docs.
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Ryan Dew
Sent: Wednesday, December 04, 2013 11:15 AM
To: MarkLogic Developer Discussion
Subject: [MarkLogic Dev General] Missing
You might be able to get some or all of what you need by turning on some or all
of the trace events for CPF:
http://docs.marklogic.com/guide/cpf/error#id_26638
Be careful what you ask for, though, as these can be quite chatty.
-Danny
From:
Hi Mariano,
You probably did not have the needed prerequisites for the app services upgrade
to complete successfully. You can fix this by updating the app server
configurations for the App-Services and manage App Servers according to this
specification:
Or, if you have an update action on your pipeline, you can just do an update to
the documents that are in the error state (after corrected the error state, if
appropriate). CPF is fired by triggers, and you can configure it to be
triggered by create and/or update.
So if you have an update
...@developer.marklogic.commailto:general-boun...@developer.marklogic.com]
Namens Danny Sokolsky
Verzonden: donderdag 24 oktober 2013 19:50
Aan: MarkLogic Developer Discussion
Onderwerp: Re: [MarkLogic Dev General] Reprocessing error documents in CPF
Or, if you have an update action on your pipeline, you can just do
processing again).
Thanks for keeping me honest Geert!
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Danny Sokolsky
Sent: Thursday, October 24, 2013 1:13 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General
Hi Gurbeer,
Do you have maintain directory last modified set on the database? That setting
will cause a lot of locks to occur. If it is true, true, try setting it to
false and see what happens.
Also, what version of MarkLogic ( xdmp:version() )?
-Danny
From:
of records its now 63697 MB
I am reading this number from Monitoring Dashboard --Disk Space -- Mouse
hover on Forest.
~Gurbeer
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Danny Sokolsky
Sent: Friday, October 11, 2013 12:28 PM
To: MarkLogic
Hi Abhishek,
Did you see this part of the doc:
http://docs.marklogic.com/guide/search-dev/relevance#id_34743
Does that explain what you need to know? It is very user-tunable, as you can
specify different distance-weights.
-Danny
From: general-boun...@developer.marklogic.com
Hi Andres,
I don't see any schema or xml files attached, so it is hard to comment on it.
Also, what version of MarkLogic are you using (xdmp:version() )?
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Andres Felipe
Restrepo
I am not positive, but I believe that the drive just needs to be read/writable
for the SYSTEM user (or whichever user the service is run as). So if you map
that as a drive and it has the proper permissions (which is tricky in windows
sometimes), I would think it would work.
-Danny
From:
And for a given query, you can change the time limit (up to the value of max
time limit on the App Server) using:
http://docs.marklogic.com/xdmp:set-request-time-limit
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Geert
Have you tried connecting to the Apache server from another client (like curl
for example)? Are you sure it is set up to use digest auth?
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Vijayasekar
Padmanaban
Sent: Wednesday,
How about something like:
typeswitch ($x)
case element (foo) return if ($x/@bar) then do-something() else ()
-Danny
-Original Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Ignacio Tripodi
Sent: Tuesday,
. I was wondering if there was a
cleaner way to put it all in a single sequence-type matching expression.
Thanks, though!
-i
On Sep 10, 2013, at 4:33 PM, Danny Sokolsky danny.sokol...@marklogic.com
wrote:
How about something like:
typeswitch ($x)
case element (foo) return if ($x/@bar
Hi Sergio,
You can use xdmp:set-request-time-limit:
http://docs.marklogic.com/xdmp:set-request-time-limit
If you wanted it to do something based on user or role, you could have some
code that runs at the beginning of each request to appropriately set the time
limit based on who they are. But
Hi Tim,
Yes, adding a document to a collection would fire an update trigger because
adding a collection is an update.
What you could do is have the updates that add a collection put the document
into some state that, when triggered, would have an action that is a noop.
-Danny
From:
events.
Just something to think about...
Tim
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Danny Sokolsky
Sent: Wednesday, August 21, 2013 2:20 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Does adding
Dev General] Does adding a document to a collection
trigger a CPF domain?
I hear you. BTW, how would you recommend checking for a change in content?
Tim
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Danny Sokolsky
Sent: Wednesday
No, you can't use functions in the index definitions.
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Michael Sokolov
Sent: Sunday, August 18, 2013 2:44 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General]
OK, if it is range queries that are at play here, then it might be interesting
to look at how big are your forests? It is possible that adding more forests
might increase your parallelism and make each forest's part of the index
resolution smaller. This is especially true with Range Index
Hi Gurbeer,
You can look at the Document Library Services (DLS) API:
http://docs.marklogic.com/guide/app-dev/dls
http://docs.marklogic.com/dls
DLS allows you to build check-in, check-out kinds of applications.
-Danny
From: general-boun...@developer.marklogic.com
You can try looking through this section of the doc for a little more info too:
http://docs.marklogic.com/guide/app-dev/json
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of David Lee
Sent: Monday, July 22, 2013 11:44 AM
To:
Hi Arul,
I think we need a little more info here.
How exactly did you create the database (ie, using the Admin Interface, using
Info Studio, etc)? Is this a recently-upgraded system. What version are you
running (ie, 5.0-1, 5.0-5, etc)?
-Danny
From: general-boun...@developer.marklogic.com
Hi Mary,
I think the order of the attributes does not have any meaning as XML does not
have a notion of order in attributes.
http://www.w3.org/TR/REC-xml/#sec-starttags
If you want to preserve the order, consider putting these in elements instead
of attributes.
-Danny
From:
Or, in this case, you can just use the Admin api database-copy function, which
I think does exactly what you want:
https://docs.marklogic.com/admin:database-copy
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Garrow, Heather
...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] En nombre de Danny Sokolsky
Enviado el: viernes, 14 de junio de 2013 23:14
Para: MarkLogic Developer Discussion
Asunto: Re: [MarkLogic Dev General] Queryfor searchingdocuments witha null node
If you plan on upgrading to 5, I
Dpto. Sistemas
Grupo Joly
De:
general-boun...@developer.marklogic.commailto:general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] En nombre de Danny Sokolsky
Enviado el: jueves, 13 de junio de 2013 18:45
Para: MarkLogic Developer
in it.
Thanks,
Mariano Grau
mgrau @ grupojoly.com
Dpto. Sistemas
Grupo Joly
De:
general-boun...@developer.marklogic.commailto:general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] En nombre de Danny Sokolsky
Enviado el: jueves, 13 de
I do not know of a way to express that as a cts:query. The problem is that it
is hard to search for a combination of something that is there and something
that is not there.
If you don't care about relevance order, you can do this in an xpath as follows:
/doc[published[pub/string() eq
Hi Gary,
There is something that was fixed in 5.0-5 that caused this error, although I
am not sure what is causing it for you.
Do you have a scheduled task that occurs at midnight? Maybe that task has some
sort of error in it?
-Danny
From: general-boun...@developer.marklogic.com
Gary,
Keep in mind here that the termlist warning you are seeing in the logs is a
warning, not an error. It effectively says that for the terms that are added
to this list, assume that they exist in each document in the database and stop
tracking position data for them. And if that termlist
Hi Kashif,
Why not treat your XML as XML instead of a string. Then you can just use
XPath. Something like:
let $document :=
report
body
row
ChapterTitleFront Matter/ChapterTitle
/row
/body
/report
return $document//ChapterTitle
=
ChapterTitleFront
.
Danny I am trying to resolve a problem where I have to convert text string into
the tag name and then use that to extract the value from the XML.
Best Regards,
Kashif Khan
Sent from my iPhone
On May 24, 2013, at 5:47 PM, Danny Sokolsky
danny.sokol...@marklogic.commailto:danny.sokol
the value of Element Š.
Yes I looked into that but the problem is that I can not use any MarkLogic
functions.
Best Regards,
Kashif Khan
Sent from my iPhone
On May 24, 2013, at 6:36 PM, Danny Sokolsky
danny.sokol...@marklogic.commailto:danny.sokol...@marklogic.com wrote:
Hi Kashif,
In that case, you
Hi Abeshek,
First off, I am not totally sure what you mean by summation value of one
field, but I am guessing you mean to sum up all of the value elements under
your content element. To start, the naive way to do this is to just do a flowr
with an order by, something like this:
xquery
:-general-boun...@developer.marklogic.com
wrote: -
To: MarkLogic Developer Discussion
general@developer.marklogic.commailto:general@developer.marklogic.com
From: Danny Sokolsky
danny.sokol...@marklogic.commailto:danny.sokol...@marklogic.com
Sent by:
general-boun
Is there a CPF pipeline attached to the database (or some other triggers)? If
so, that might be what is causing the updates.
In general, batches are more efficient than single updates, maybe batches of
100 or 1000 (or more or less...), depending. As you said, tho, a failure meant
that the
Hi Bob,
Here are a few questions and a few things I would focus on:
* I am confused what version you are on - is it 5.0-4.1 for this
project 4.0?
* Is this production or development? If it is production, you might
consider contacting MarkLogic support.
* Do you have
. For example if the system is paging
heavily and using large amounts of swap, that will directly affect database
performance.
-- Mike
On 21 May 2013, at 09:21 , Danny Sokolsky danny.sokol...@marklogic.com wrote:
Hi Bob,
Here are a few questions and a few things I would focus on:
* I am
there are?
On Tue, May 21, 2013 at 11:21 AM, Danny Sokolsky
danny.sokol...@marklogic.commailto:danny.sokol...@marklogic.com wrote:
Hi Bob,
Here are a few questions and a few things I would focus on:
* I am confused what version you are on - is it 5.0-4.1 for this
project 4.0
xdmp:login only works on app servers that allow application-level
authentication, which means it works on HTTP servers, not an XDBC servers (it
will always return false on an XDBC server). Also, note that XDBC servers do
not have app-level authentication.
So as Brent suggests, your Java code
You can also use xdmp:spawn to update a batch at a time. You would then need
two modules, the xdmp:spawn module, which typically would have an external
variable that you would use to pass in the URLs to process, and another module
that figures out the batches and then passes them off to the
I'm sure you all know this, but just as a reminder: keep in mind that read
locks only happen on update transactions, so if it is a query transaction that
is not a factor.
-Danny
-Original Message-
From: general-boun...@developer.marklogic.com
The second arg to save is a node, not a string. Try making $r into a text node:
xdmp:save('c:\export.csv', text{$r}, options
xmlns=xdmp:savemethodtext/method/options)
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Gary
I believe they are when they are managed by MarkLogic, but are not when they
are external binary documents.
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Stu Salsbury
Sent: Wednesday, April 24, 2013 10:48 AM
To: General
Have you tried looking at what the Admin Interface does on /error-logs.xqy ?
For example:
http://localhost:8001/error-logs.xqy
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Singh, Gurbeer
Sent: Wednesday, April 24, 2013 1:53
...@developer.marklogic.commailto:general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Danny Sokolsky
Sent: Wednesday, April 24, 2013 5:01 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Log File
Have you tried looking at what the Admin
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
It should not, but as always, I recommend testing it first. It is always
possible that your application is relying on some behavior that changes due to
a bug fix.
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Danny Sinang
You may also need to add that permission to the directory. Something like:
xdmp:document-add-permissions(
/app/,
(xdmp:permission(AHD-Access-Role,read)))
-Original Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Khan,
-permissions(
fn:document-uri($x),
(xdmp:permission(AHD-Access-Role,read)))
Script 2
==
xdmp:document-add-permissions(
/app/,
(xdmp:permission(AHD-Access-Role,read)))
Kashif Khan, PMI-ACP
On 4/2/13 4:48 PM, Danny Sokolsky danny.sokol...@marklogic.com wrote:
You may also
Well, if the records are already stored in MarkLogic as either XML or text,
then they are now UTF8 (because MarkLogic stores everything in UTF8), so my
guess is you will have to go back to the old files in order to figure out which
characters got transcoded incorrectly. The exception here
Hi Mohanraj,
The function you called does not initiate a backup; it is a building block for
for setting up scheduled backups.
To backup a database from XQuery, use xdmp:database-backup:
https://docs.marklogic.com/xdmp:database-backup
This will start off a backup operation. It returns an id
The functx library has a bunch of functions to do stuff like this. I think
distinct-deep works for this. You can find those here:
http://www.xqueryfunctions.com/
And also MarkLogic ships with that library, so you can import it directly.
Here is an example:
xquery version 1.0-ml;
You can serialize the last webservice call status into a document to create a
sort of locl. For example, keep a document names /last-webservice-call.xml
with an element showing the timestamp of the last call and another element
showing some id from the caller. Something like:
doc
constraint since there's not really
a way to do that through the search API directly, correct?
From:
general-boun...@developer.marklogic.commailto:general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Danny Sokolsky
Sent: Wednesday, February 27, 2013 2
Hi David,
Do you have your file log level turned to Debug? I think it needs to be debug
to see the reindexing errors.
I think the quickest path to a solution here will be to create a 1-document
database that shows this issue. Then you will probably be able to figure out
the issue. My guess
Also, make sure the 2 machines are the same platform and architecture:
xdmp:platform(), xdmp:architecture()
databases from one platform/architecture cannot be just moved to use on another
platform/architecture. If you need to do that, use mlcp (or xqsync).
-Danny
-Original Message-
Hi Jakob,
You need to create a Path Namespace for your prefix, then you can use that
prefix in your path index. Here is the procedure:
http://docs.marklogic.com/guide/admin/range_index#id_54948
-Danny
From: general-boun...@developer.marklogic.com
, Sujith
maramsuj...@gmail.commailto:maramsuj...@gmail.com wrote:
Hi Jakob,
you can even refer to marklogic blog (Evan Lenz). It has with examples.
http://developer.marklogic.com/blog/path-range-indexes
http://developer.marklogic.com/blog/path-range-indexes-2
On Wed, Feb 20, 2013 at 4:55 PM, Danny
...
cheers,
Jakob.
On Wed, Feb 20, 2013 at 11:48 PM, Danny Sokolsky
danny.sokol...@marklogic.commailto:danny.sokol...@marklogic.com wrote:
You have to use admin:database-add-path-namespace first to add it to your
configuration (the path-namespace just creates the path specification
This is just a guess, but my guess is that this has to do with MarkLogic 6
running in FIPS mode. Here is some description of the incompatibilities:
http://docs.marklogic.com/guide/relnotes/chap4#id_13394
I am theorizing that MarkLogic 5 is using a less secure cipher for this. One
thing you
] GET over SSL with self-signed cert
Danny - FIPS mode on the ML6 server doesn't seem to have an effect. Should I
contact support?
-Will
On 1/7/13 2:30 PM, Danny Sokolsky danny.sokol...@marklogic.com wrote:
This is just a guess, but my guess is that this has to do with
MarkLogic
6 running in FIPS
Hi Will,
I am not 100% positive about this, but I think it is a feature. The MarkLogic
XSLT engine is 2.0, not 1.0, and when it sees 1.0 stylesheets, it runs them in
1.0 compatibility mode. See the XSLT 2 spec for the gory details.
So I think this is as expected.
-Danny
Also, you might look in your log files and see what they say is going on.
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of John Zhong
Sent: Thursday, December 20, 2012 1:54 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic
Hi Jakob,
You are correct, you just need to load up the pipelines, which is not done with
the Admin API. There is a cpf api to help you do that:
http://docs.marklogic.com/cpf
CPF being installed means that all the cpf artifacts are available.
Once you load up the cpf stuff, if you look in
You can use the xdmp:resolve-uri function from xslt to get this behavior:
http://docs.marklogic.com/xdmp:resolve-uri
It has more lax semantics than the fn:resolve-uri.
I think that should solve the issue here.
-Danny
-Original Message-
From: general-boun...@developer.marklogic.com
It might take a little while to finish, especially if you did not set your
databases to disable reindexing.
Have a look at your log file and see what it is doing.
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Singh, Gurbeer
As Mike said, the collation is a good thing to double-check. It is best
practice to specify the collation in the range constraint, that way you will
not have to worry about default collation. So make sure your constraint has
the collation specified. Something like:
options
That does not actually search in the empty namespace. That undeclares the
prefix empty.
If you want to search in no namespace after creating a default element
namespace, you have to either use a function such as fn:QName to generate a
QName in no namespace or do what David suggested using
Perhaps there is some other process (like for example a virus checker?) that is
going where it is not supposed to go?
-Danny
-Original Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Nelson Wells
Sent: Wednesday,
For starters, it looks like the first query is searching on this:
//xhtml:html/xhtml:head/xhtml:meta/fwp:divisions
and the second query is searching on this:
/xhtml:html/xhtml:head/fwp:divisions
If you remove the xhtml:meta step in the first one does it return what you
expect?
-Danny
From:
Hi David,
As far as I know, WebDAV has always repaired by default (without a way to
control it), so this behavior is the same as it was in MarkLogic 5. Maybe
there is something slightly different about what you are doing compared to what
you were doing before?
-Danny
-Original
Hi Florent,
A couple of things here:
* The return type in the doc for xdmp:get-request-field is wrong--it should be
item()*. We will work to correct that.
* The type of node will in most cases depend on the mimetype, which for the
file types will be based on its extension. For a list of
A couple of point here:
* I recommend you trying to run each of these in Query Console to help you
understand what is going on.
* The way you have written the queries they will need to put the whole db in
memory. Avoid the following idiom:
for $x in doc()
unless you really have to. You
with namespace Declaration in
Marklogic
Hi Danny,
thanks for responding..
Both the queries run fine and return correct results in the M/L query
Console with correct results..
its only thr c# that Query2 produces valid results but Query1 brings
out empty result.
On Wed, Sep 12, 2012 at 11:19 PM, Danny
: [MarkLogic Dev General] Help with namespace Declaration in
Marklogic
yes. i checked that,, I actually copy pasted the query from the query
console... i was wondering of there is anything special we need to do
?
On Wed, Sep 12, 2012 at 11:38 PM, Danny Sokolsky
danny.sokol...@marklogic.com wrote:
Maybe
Hi Gavin,
Yes, HTTP chunking was added as part of the binary support improvements in 5.0.
-Danny
-Original Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Gavin Haydon
Sent: Wednesday, September 05, 2012 10:45 AM
To:
Hi Henrik,
How about this:
let $x := outernodeThis is a span class=heavy very/span rainy night in
Copenhagen/outernode
return $x/node()
This will return all of the nodes (text and element in this case) that are
children of outernode.
-Danny
-Original Message-
From:
101 - 200 of 706 matches
Mail list logo