Hi Siva,
Could you share me the exact error message you getting from Log.
By
Raja>>>
-Original Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Mani,
Sivasubramani (ELS)
Sent: Monday, March 14, 2016 3:24 PM
To: general
Did you check with cache configurations are same in both versions .
By
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Mani,
Sivasubramani (ELS)
Sent: Friday, March 04, 2016 4:14 PM
To: general@developer.marklogic.com
Subject:
Hi Team,
Any suggestion really a helpful for us.
By
Raja >>>
From: Marimuthu, Rajamani (Cognizant)
Sent: Tuesday, February 09, 2016 3:27 PM
To: general@developer.marklogic.com
Subject: Base content schema change
Hi Team,
We have one unique base document schema change plan. I will explain the
Hi Team,
We have one unique base document schema change plan. I will explain the
existing scenario and an expected scenario . Kindly give some feedback about
the changes .
1. We have document content in one xml file and all properties [meta
data] in contents properties[~100 to 150 ele
Hi Subramani,
Change your code into following .
for $doc at $index in $docs[1 to 20]
return
{
let $title:=$doc//title
return concat($index," ",$title/text())
}
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Subramani
Shanmuga
Hi Florent Georges,
Thanks for your quick reply. Yes, we are trying to avoid such entity characters
in input content itself .
By
Raja >>>
-Original Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Florent Georges
Sent:
Hi Florent Georges,
Yes, you are correct . the single & is working fine with repair-full option
. That's why am confused for < with repair-full is not working.
By
Raja>>>
-Original Message-
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com]
Hi Team,
Today am facing some strange behavior in xdmp:unquote function. I tested the
below sample code . it's returning error for entity reference <, but remaing
4 working fine. Is this expected bug in ML. or am I missing something in the
code.
let $data := text{'
XML En
Hi Pragya,
I don't think ,you can use the below format for date range comparison . Better
you have same date details in attribute too. So , simply you can setup element
attribute range index with integer option then try the following code . It will
work.
let $fromDate := ("2011-03-04")
let
Hi Prakash,
So, do you want to implement Multi-master replication across these three
clusters. If that is the case then there is no direct approach in ML, but,
still you have options to implement your scenario using flexible replication
concepts .
By
Raja >>>
From: general-boun...@developer.m
Hi Siva,
Try to use s3:/// instead of two slashes . similar kind of issues were found
in the ML community and some one suggested this approach. But am not sure it
will work or not .
By
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On
Hi,
Your code is working fine and getting expected result . Could you please tell
me what version of ML u r using.
By
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Kari Cowan
Sent: Tuesday, January 19, 2016 5:37 AM
To: Mar
HI Pragya,
You can try with cts:uri-match("/doc/") instead of cts:uris() function.
By
Raja>>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Ken Tune
Sent: Monday, January 18, 2016 5:24 PM
To: MarkLogic Developer Discussion
Subject: R
Hi Geert,
It's really a helpful information .But , in my case lot of restrictions are
there .
1. The search:search function directly called in XQuery code[ not by REST
api] with all search criteria mentioned in advanced Query part of options
section
Like search:search("",$options,$sta
HI Geert,
And one more thing, The given property elements are not configured for element
range indexes. So, in that case this cts:element-values functions will not
work .this function requires given element should range indexed . Without that
how will I implement .
By
Raja >>>
From: genera
Hi Geert ,
Thanks for the quick reply , what about the parse and finish-facet parts . Am
really confused about this custom constraints . If possible kindly give me some
sample code for properties.
By
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.mark
Hi Geert,
Am aware about that fragment-scope option in search constraints ,but it's
available from ML 5 onwards . So, no luck from that. Is that possible to use
custom constraint to achieve my requirement .
By
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@deve
Hi Justin,
Thanks for the reply mail . Yes we are using ML4.2 version but, we are
preparing the migration from 4.2 to latest 8.* version very soon.
But, right now – we don’t have any document content change plan- so I need
to implement the expected facet on properties files. Am really cluel
Hi Team,
We are trying to implement facets from various property elements in ML4.2
version . Is that possible. Like
Search term : “sample” present in content body
Facets : on some properties like : author, geography etc. from document
properties . Kindly appreciate if have some sample
Hi Team,
Is that possible to get facet results from only document properties in ML 4.2
version. Is it possible kindly give some tips .
Thanks and regards
Raja >>>
This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and pr
Hi David ,
Thanks for the quick response … It’s the four nodes cluster located In
different data center ….Right now we have separate DR node as part of this
cluster …
Thanks and regards
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On
Hi Team,
We are using ML4.2 and now started the migration to ML-8 , part of this
migration we finding possible solutions about master to master replication
which is currently not supported by ML. My questions is there any workaround
to implement this M-to- M replication or is there any roadmap
Hi Manju ,
I hope you aware about the marklogic support account . If yes then you or
your team members must have it, From there , you can raise a ticket for the
mentioned index issues.
Thanks and regards
Raja >>>
-Original Message-
From: general-boun...@developer.marklogic.com
[ma
Hi Manju,
This should not be allowed , I feel it was fixed in later version . I just
tested with ML-8 -* its not taking same identical index for an element two
times , throwing error stated - " Invalid input: two or more range element
indexes are identical. ". So we can raise a ticket to fix i
Hi Kris,
Consider a small sample and included two sample XML files , try to run the
query u will get some idea about the document relationship .
for $sales in doc()/Sales, $region in doc()/Region
where $sales/@regID = $region/@regID
return ($sales/product, $region/product)
region.xml
xdmp:do
Hi Kris,
You can include countryID or similar attribute in both XML documents to
create the relationship between both. Is that really hard, I don't think
-because we can create such things easily in different ways .
Thanks and regards
Raja >>>
From: general-boun...@developer.marklogic.com
Hi Vipan,
What you are getting in the admin interface while accessing by browser .Pls
send us clear info to solve your problem .
Thanks and regards
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Joshi, Vipan
Sent: Tuesday, A
Hi Deepak,
Following Java API link also helpful I guess .
http://docs.marklogic.com/guide/java/query-options#id_66439
Thanks and regards
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Deepak Saini
Sent: Tuesday, August 25, 2
Hi Deepak,
Did you check the below link about the "Using weights to influence scores" -
http://docs.marklogic.com/guide/search-dev/relevance#id_22791
Thanks and regards
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Deepak
Hi Anoop,
Marklogic specific Xquery functions mainly introduced for faster performance
and get fast results . Even in some constraint plain Xquery FlOWR conditions
also useful.. All are depends on the requirements but, I can suggest wherever
possible use marklogic specific functions get better
Hi,
Could you explain ,how u tried webdav connection to ingest the data. What error
message you got ….
Thanks and regards
Raja>>.
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of SNEHASISH DUTTA
Sent: Wednesday, August 12, 2015 7:27 PM
Hi,
Then better you can try with webdav option .
Thanks and regards
Raja>>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of SNEHASISH DUTTA
Sent: Wednesday, August 12, 2015 2:02 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLo
Hi Sanjay,
Simply you can copy and paste the XML content in second param of
xdmp:document-insert function .
xquery version "1.0-ml";
declare namespace html = "http://www.w3.org/1999/xhtml";;
xdmp:document-insert("/assignment/breakfast/breakfast.xml “, your
contents)
Thanks and regards
Raja
Hi Jurgan,
As you know , Marklogic stores all the content in UTF-8 encoding by default ,
if you specify any other encoding format in ingestion then ML will try to
transcode that into UTF-8 format . And UTF-8, ISO-8859-1 are two main encoding
options as well as many other popular encoding als
Hi Andreas,
You can also use the Zip option , this will download your xml into your local
file system in zip file.
let $zip := xdmp:zip-create(
mimetype
result.xml
,
(document { "application/epub+zip" },
Hi Basavaraj,
Did u try something like below one
cts:search(/,
cts:and-query((cts:word-query("abc"), cts:collection-query("test1"),
xs:string(cts:max(cts:element-reference(xs:QName("size")))
If this is the requirement then you can pass third param in and-query .
Thanks and regar
Hi Raghu,
Give use some sample XML file and your existing code sample to understand the
scenario .
Thanks and regards
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Raghu
Sent: Wednesday, July 22, 2015 4:27 PM
To: MarkLogic
Hi Basavaraj,
Did you try something like following , I have formed structured query as third
param for the given scenario.
import module namespace search = "http://marklogic.com/appservices/search"; at
"/MarkLogic/appservices/search/search.xqy";
let $searchQ := http://marklogic.com/appservice
Hi ,
Please give me sample input and output xml code for better understanding . Or
explain the scenario more clearly .
Thanks and regards
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of ???
Sent: Friday, July 10, 2015 2:34 PM
Hi,
Try this ,
cts:search(/root/child1/child2,
cts:and-query((
cts:element-attribute-value-query(xs:QName("child2"), xs:QName("att"), "1"),
cts:element-attribute-value-query(xs:QName("child3"), xs:QName("att"), "1")
)))/child3[@att = "1"]
Thanks and regards
Raja >>>
From: general-
Hi Danny ,
Me too tested the same scenario , Yes, its look like bug only , the error
message generated two times for single [GET Method] hit.
Thanks and regards
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Danny Sinang
Sen
Hi Danny,
Me too getting the similar kind of error message as XML format .
http://marklogic.com/xdmp/error";>
404
Not Found
RESTAPI-NODOCUMENT
RESTAPI-NODOCUMENT: (err:FOER) Resource or document does not
exist: category: content message: /cd1_catalog1.xml
As Erik, said , if its pr
Hi Danny ,
Did u check the below mentioned section in the REST API [extensions] document .
https://docs.marklogic.com/guide/rest-dev/extensions#id_33892
thanks and regards
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Dann
Hi ,
As Asit told , always try to use ML specific functions to avoid expanded tree
cache error and get better performance . Try the below one for your requirement
.
for $update-node in cts:search(/,
cts:and-query((( cts:collection-query("test")),(
cts:element-attribute-range-query(
Hi ,
If give more specific scenario then will give better solutions .
Thanks and regards
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Chunyu Cong
Sent: Friday, July 03, 2015 6:39 PM
To: General@developer.marklogic.com
Subje
Hi Chunyu,
Indexes mainly for performance . Yes , if you are doing search against given
string element then , you can create range index .
Thanks and regards
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Chunyu Cong
Sent: F
Hi Prasanth,
You meant , same doc locked for two different users even time difference is
there ?. Did u not get XDMP-LOCKCONFLICT exception . Could you explain more
clearly with test code to give correct solution .
Thanks and regards
Raja >>>
From: general-boun...@developer.marklogic.com
Hi ,
Yes , you can use the below mentioned code [101 to 200] and so on...
Thanks and regards
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of ???
Sent: Thursday, July 02, 2015 3:30 PM
To: general@developer.marklogic.com
Subject
Hi Zise,
Always use pagination concept to avoid " XDMP-EXPNTREECACHEFULL". Your first
query returns only the count of the total result, but the second query returns
the actual content as result. So, use something start and end values to get
your result like [show 1 to 100 results].
See the
Hi Mohit ,
Normally, downgrade is not recommended as latest version have lot of new fixes
and features . There is a change needed for your REST configuration .
In MarkLogic 7, App Servers that are REST API Instances used a different URL
rewriter than in MarkLogic 8. In MarkLogic 8, the App Se
Yes, As Asit mentioned both operators have significant difference . Here one
more point about this operators . As per XQeury 1.0 strict and 0.9-ml version
both will throw error if you not properly used both operators , But 1.0-ml ,
it’s doesn’t have any special difference , both will act as sam
Hi All,
Below options also working .
for $i in collection("test")/catalog/product[@dept = "WMN"]/name
return $i,
for $i in collection('test')/catalog/product/name
return $i[../@dept = "WMN"]
By
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogi
Hi Abhijeet,
All Log information configured in Group level. By default ML sends Log messages
to operating system log and ML log file, but both logs may not receive same
number of messages . So , always recommended to enhance system performance ,
the system logs should receive lesser message tha
Hi Chunyu,
As Indy said, that option is available by default … If you expect other than
that pls explain clearly to give correct solution .
By
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Indrajeet Verma
Sent: Friday, Ju
Hi Team,
As Florent Georges mentioned , the XML Spec clearly says , if xml:lang
specified in the given XML Element , it must follow the given language standard
, unless otherwise , it will be overridden by new xml:lang for the same element
.
"
The language specified by xml:lang applies to th
Hi Martin,
Did u check the modules location : either mentioned filesystem or modules db to
store all your application xquery codes .
Thanks and regards
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Martin Vollmer
(hotmail
Hi Santhosh,
By default , roxy deployer have three env details like - local, dev and prod.
Did you try with other two than the dev settings .
By
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Geert Josten
Sent: Thursday, May
Hi David,
Test with the following code , Its working for me . Here I created two
collections "cdcollection" and "cd1collection" , and inserted sample CD xml
file with range index for "TITLE" element in both collection with small changes
in the TITLE value like 1.xml have "Empire" and 2.xml have
Hi David ,
In your search:suggest query , have option called $query as last parameter ,
there you can specify structured query for your collection requirement ,like
reports
analysis
Thanks and regards
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-bou
Hi Pragya ,
Let me know the output format of the below xml . then will give better solution
By
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Kapoor, Pragya
Sent: Friday, May 15, 2015 4:13 PM
To: general@developer.marklogic.c
Hi Pragya,
The ‘n’ number of elements in result means – like below structure
--
--
---
Am not able to understa
Hi Pragya,
You meant, you will get some other element than “ name” and “Law” ? If that is
not a case and will get these two elements with different count then will use
the same code.
Thanks and regards
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.m
Hi Pragya,
Following code should give the expected result ,
xquery version "1.0-ml";
declare namespace html = "http://www.w3.org/1999/xhtml";;
declare function local:transform($result as node()){
for $name in $result/Name, $law in $result/Law
return {($name,$law)}
};
let $data :=
Hi Shashi,
Yes, You can delete the data once the ML ingestion s done. And always configure
the great disk space for the forest more than the actual content size
recommended by ML .
By
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Be
Hi Pragya ,
Did u check default time limit setting for an application server or Task
server. Because this XDMP-Cancelled message will happen either explicit
operation performed or a result of a system event l XDMP-EXTIME will trigger
the above message .
Give some more details .to find out
Hi Shashidhar,
How you configured the forest and in memory allocations . Looks like your in
memory and list cache is in weak configuration . and normally 200GB recommended
per forest and relatively allocate in memory size .
By
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:gen
Hi Danny,
You may check with the following code if its fit for your requirement.
xquery version "1.0-ml";
declare namespace html = "http://www.w3.org/1999/xhtml";;
import module namespace search="http://marklogic.com/appservices/search";
at "/MarkLogic/appservices/search/searc
Hi Vimal,
Even Greek is fall under generic language list, still u can use stemming and
tokenization in generic way. If u have more specific points for your scenario
then will get better solution from the forum .
By
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-bou
Hi Vimal,
As of now , they have advanced support for 15 languages which are widely
used in the world . If u need support for Greek, they suggested to contact
directly them.
By
Raja >>>
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf
69 matches
Mail list logo