[MarkLogic Dev General] Management API

2017-01-20 Thread Florent Georges
Hi, I send twice the same request to create a database: POST http://ml9ea4:8002/manage/v2/databases { 'database-name': 'xxx-content', 'range-element-index': [ { 'scalar-type': 'string', localname: 'xyz', 'range-value-positions': false, 'invalid-values': 'ignore',

Re: [MarkLogic Dev General] read mode execution

2017-01-20 Thread Geert Josten
Hi, Could you elaborate a bit more on the why of what you are describing? What is the purpose of that doc insert? And by same transaction I guess you mean within same request, right? Cheers, Geert From: mailto:general-boun...@developer.marklogic.com>> on behalf of sweet frd mailto:sumathisu

[MarkLogic Dev General] read mode execution

2017-01-20 Thread sweet frd
Hi, I have an xquery which will construct an xml and give back in response. The xquery is now executed in *READ MODE. *Now I want to perform a document-insert *(write operation) *within the same transaction and i want the mode not to be changed. When i perform a document-insert the mode is change