[MarkLogic Dev General] Reg:contentpump aggregate_uri_id attribute problem

2013-01-02 Thread Rajesh Kumar
Hi, We are exploring Contentpump in ML version6. We have a scenario where we need to split an XML based on an element(plan) and we are using aggregate to acheive this,but while naming output documents we are facing problem as we have an id attribute at multiple places,and *aggregate_uri_id* is

[MarkLogic Dev General] custom constarint query exception in ML6 REST API

2013-01-28 Thread Rajesh Kumar
Hi, As part of our requirement, we need to pass a value using Search REST API in Marklogic 6. We are trying to use structuredQuery endpoint to achieve this. Please find the sample below: http://localhost:8006/v1/search?structuredQuery={query: {queries: {custom-constraint-query:

Re: [MarkLogic Dev General] custom constarint query exception in ML6 REST API

2013-01-28 Thread Rajesh Kumar
/search:constraint-namesearch:textLanguage/search:text/search:custom-constraint-query) Please clarify the issue with ML 6 search.xqy. Thanks, Rajesh On Mon, Jan 28, 2013 at 4:02 PM, Rajesh Kumar rajava...@gmail.com wrote: Hi, As part of our requirement, we need to pass a value using Search REST

Re: [MarkLogic Dev General] custom constarint query exception in ML6 REST API

2013-01-29 Thread Rajesh Kumar
(()) };}/root/* Please suggest the better approach whether to write two separate constraints and call string and structured queries separately or write one common method and use instance of to use the exact functionality. Thanks, Rajesh On Mon, Jan 28, 2013 at 4:02 PM, Rajesh Kumar rajava

[MarkLogic Dev General] mandatory constraint in search:search

2013-02-18 Thread Rajesh Kumar
Hi, How to make a constraint(“coll”) mandatory in search:options while performing search:search Ex: search:search(Book AND coll:abc,options xmlns= http://marklogic.com/appservices/search; constraint name=coll collection prefix=xxx/ /constraint /options

[MarkLogic Dev General] Content pump issue while using copy mode

2013-09-26 Thread Rajesh Kumar
Hi Team, I'm using content pump to copy the content from source server to target server. Please find the command below: Query: mlcp.bat copy -copy_collections true -copy_permissions true -mode local -directory_filter /abc/${isbn}/ -input_host ${inputHost} -input_port 8003 -input_username

[MarkLogic Dev General] PUT method in RESTFUL service giving 401 response

2013-10-25 Thread Rajesh Kumar
Hi, We are trying to migrate data from one environment into another, while doing so we are receiving 401 responses some times. Query: xdmp:http-put( http://remoreserver_rest_service:9000//v1/documents?uri=/test.xml;, options xmlns=xdmp:http authentication method=digest

Re: [MarkLogic Dev General] iri sequence to graph things endpoint

2016-08-31 Thread Rajesh Kumar
Thanks Charles, Debugged "graph-explore.xqy" and "rest-impl.xqy" and tried updating the attribute "repeatable='true': in "config.xqy" and it was working as i have 100 months experience in Marklogic :) . Just wanted to confirm whether this is a bug in 8.0.4 or not? any how thanks for confirming

[MarkLogic Dev General] iri sequence to graph things endpoint

2016-08-30 Thread Rajesh Kumar
Hi, How to pass multiple sequence iris to the below rest things endpoint. tried: /v1/graphs/things?iri= http://dbpedia.org/resource/AJ_Banal,http://dbpedia.org/resource/AJ_Carothers Thanks & Regards, Rajesh ___ General mailing list

[MarkLogic Dev General] iri sequence to graph things endpoint

2016-08-30 Thread Rajesh Kumar
Hi Greet, Tried the same way earlier but endpoint is throwing error, tried debugging the code and not able to find the exact reason and syntax to pass sequence of iris. Tried below calls: /v1/graphs/things?iri= http://dbpedia.org/resource/AJ_Banal=http://dbpedia.org/resource/AJ_Carothers

Re: [MarkLogic Dev General] General Digest, Vol 148, Issue 1

2016-10-04 Thread Rajesh Kumar
klogic.com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of General digest..." > > > Today's Topics: > >1. duplicate triplestore files when loaded using rdf and mlcp > (Rajesh Kumar) >2. Re: dupl

[MarkLogic Dev General] duplicate triplestore files when loaded using rdf and mlcp

2016-10-03 Thread Rajesh Kumar
Hi Team, When using sem:rdf-load and loading the turtle ( .ttl ) file , i observed multiple triple store files are getting created and the same with mlcp as well. But my Sparql query is working as expected eventhough there ae multiple triplestore files exist in database ( I guess that will be

[MarkLogic Dev General] Using Node.js in MarkLogic

2016-10-27 Thread Rajesh Kumar
Hi Team, I'm planning to develop an application using React.js talking to MarkLogic. We also have suggestion to use Node.js as middle layer. Can we deploy the React and Node code within MarkLogic application server? Regards, Rajesh ___ General mailing

[MarkLogic Dev General] validate epub file using XSD

2016-11-21 Thread Rajesh Kumar
Thanks Geert, Is there any example available to achieve the same functionality as epubchecker ( java) within MarkLogic XQuery? Regards, Rajesh ___ General mailing list General@developer.marklogic.com Manage your subscription at:

[MarkLogic Dev General] validate epub file using XSD

2016-11-20 Thread Rajesh Kumar
Hi Team, Is there any way to validate ePUB file using XSD in MarkLogic? and transfrom using XSLT? Kindly let me know if there is any sample available. Regards, Rajesh ___ General mailing list General@developer.marklogic.com Manage your subscription

[MarkLogic Dev General] Using Node.js in MarkLogic

2016-10-28 Thread Rajesh Kumar
c.com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of General digest..." > > > Today's Topics: > >1. Using Node.js in MarkLogic (Rajesh Kumar) >2. Re: Using Node.js in MarkLogic (Erik Hennum) > > >

[MarkLogic Dev General] epub - opf file to xml

2016-11-03 Thread Rajesh Kumar
Hi Team, How to convert opf file of an epub to xml in MarkLogic? I want to extract information from opf file for searching. Regards, Rajesh ___ General mailing list General@developer.marklogic.com Manage your subscription at:

[MarkLogic Dev General] epub - opf file to xml

2016-11-03 Thread Rajesh Kumar
Hi Dave, I tried below code by creating rest instance in 8020 port and it worked fine. As i want to implement xpath on the opf content document-filter didn't work for me eventhough it converted to xhtml format. Code snippet: xdmp:document-get("

[MarkLogic Dev General] deleting triples node using REST API

2017-04-11 Thread Rajesh Kumar
Hi Team, Is there a way to delete a set of triples based on IRI of subject,predicate or object in REST API. We have graph delete where it deletes all the triples. Below XQuery is working as expected XQuery: let $triples := cts:triples( sem:iri("http://www.sample.org/ABC#master;),sem:iri("

[MarkLogic Dev General] custom Rest rewriter

2017-04-21 Thread Rajesh Kumar
pty string as my request and endpoint were not correct. If there is a way that we can achieve this without roxy kindly let me know. Thanks & Regards, Rajesh Kumar P ___ General mailing list General@developer.marklogic.com Manage your subscription at

[MarkLogic Dev General] Values endpoint issue in ROXY

2017-04-21 Thread Rajesh Kumar
parameter: invalid parameters:* amp;name* for request Kindly help us in resolving the issue. We are using 8.0-6.4. Thanks & Regards, Rajesh Kumar P ___ General mailing list General@developer.marklogic.com Manage your subscription at:

[MarkLogic Dev General] custom Rest rewriter

2017-04-18 Thread Rajesh Kumar
Hi Team, I'm planning to customize MarkLogic default REST rewriter. Want to deploy web application inside REST Module database which contains css/images/js and HTML. Can you help me in writing custom rewriter where i can use both Rest endpoints and myapp endpoints. The reason behind this is I

[MarkLogic Dev General] custom Rest rewriter

2017-04-19 Thread Rajesh Kumar
Thanks David, I can maintain two different ports as app and rest servers. But every time I want to call REST API i have to pass credentials for the request from app server , which I want to avoid by having both in same port. I want to access endpoints ( app API or REST API) whenever header has

[MarkLogic Dev General] Fragment counts in MarkLogic

2017-07-03 Thread Rajesh Kumar
hich means it is an empty database. Kindly elaborate on this, Thanks & Regards, Rajesh Kumar P ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general

[MarkLogic Dev General] MLCP backward compatibility

2017-06-29 Thread Rajesh Kumar
Hi Team, Is mlcp backward compatible? Can i use in MarkLogic Version 4.2? I'm facing errors when trying to use mlcp 8.0.6.3. Kindly let me know if there is any other version on mlcp which is backward compatible. Thanks & Regards, Rajesh ___ General

[MarkLogic Dev General] MLCP vs backup/restore

2017-05-16 Thread Rajesh Kumar
Hi Team, Which is the best approach in terms of data backup in MarkLogic in terms of performance and time. Using MLCP or backup/restore at database level. Regards, Rajesh ___ General mailing list General@developer.marklogic.com Manage your subscription

[MarkLogic Dev General] duplicate triplestore files when loaded using rdf and mlcp

2017-06-01 Thread Rajesh Kumar
any impact on performance if my triple-store size grows. Thanks & Regards, Rajesh Kumar P ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general

[MarkLogic Dev General] Host restart issue after joining cluster

2017-06-16 Thread Rajesh Kumar
Thanks Geert, It worked after updating the host timeout at group level. Now I could able to test Replication as well. Thanks for your time. Regards, Rajesh ___ General mailing list General@developer.marklogic.com Manage your subscription at:

[MarkLogic Dev General] Host restart issue after joining cluster

2017-06-14 Thread Rajesh Kumar
Hi Team, I'm testing clustering in MarkLogic v8 . I tried joining to a host which already exist. In the Join cluster page I mentioned group as default as there is only default available in the first host. I recieved a message that host has joined cluster and host 2 has restarted but never became

[MarkLogic Dev General] duplicate triplestore files when loaded using rdf and mlcp

2017-06-14 Thread Rajesh Kumar
Thanks Florent, Yeah I'm trying to load the same RDF file with same Subject, Object and Predicate. You have mentioned that we can restrict this in MLCP. Can you let us know how to achieve this? we have used both MLCP and sem:rdf-insert. Thanks & Regards, Rajesh Kum

[MarkLogic Dev General] Working with graphml

2017-05-24 Thread Rajesh Kumar
Hi Team, Is there any plugin available to import or export .graphml data in MarkLogic Thanks & Regards, Rajesh ___ General mailing list General@developer.marklogic.com Manage your subscription at:

[MarkLogic Dev General] flush In-memory stand to on-disk stand

2017-12-15 Thread Rajesh Kumar
Hi Team, Is there a way to flush the in-memory stand data into on-disk stand. We are planning to clone the system and want to check whether there will be any problem to the data in in-memory stand. I guess journal should take care of it. Please let me know on this. Thanks, Rajesh

Re: [MarkLogic Dev General] General Digest, Vol 162, Issue 17

2017-12-20 Thread Rajesh Kumar
Hi Eliot, You can do restore of the content in ML 9 from ML 4 , but Point-in-time data will not work. In ML 4 the timestamp was defined based on the transaction but in later versions ( from 6 i guess ) it was long. So Point-in-time data will not work. Regards, Rajesh On Thu, Dec 21, 2017 at

[MarkLogic Dev General] Possible to Restore ML 4 Backup To ML 9

2017-12-20 Thread Rajesh Kumar
Hi Eliot, You can do restore of the content in ML 9 from ML 4 , but Point-in-time data will not work. In ML 4 the timestamp was defined based on the transaction but in later versions ( from 6 i guess ) it was long. So Point-in-time data will not work. Regards, Rajesh On Thu, Dec 21, 2017 at

[MarkLogic Dev General] date scalar type error in SQL view

2018-01-10 Thread Rajesh Kumar
Hi Team, I'm trying on TDE concept of MarkLogic by connecting MarkLogic with Tableau. Created a template and facing an issue while viewing the schema. When scalar-type is defined as date , MarkLogic is returning error. Sample Column defined: createdOn date createdOn SQL

[MarkLogic Dev General] transformation of document formats

2018-04-03 Thread Rajesh Kumar
Hi Team, Is there a way that word can be saved in MarkLogic and can be converted to other formats like PDF or ePUB within MarkLogic instead of calling external API of a different technology like Saxon. Thanks, Rajesh ___ General mailing list

Re: [MarkLogic Dev General] transformation of document formats

2018-04-05 Thread Rajesh Kumar
fic > than "Re: Contents of General digest..." > > > Today's Topics: > >1. transformation of document formats (Rajesh Kumar) >2. Re: transformation of document formats (Mary Holstege) > > > ----------