[MarkLogic Dev General] Format of parameters passed to ReST /eval endpoint

2016-09-22 Thread David Mathei
Hello List, The form parameters one can pass to the ./eval endpoint are described here: https://docs.marklogic.com/guide/rest-dev/extensions#id_13936 . The spec looks like it is JSON, how would one pass a list or an array of values to one parameter here? Thanks David

Re: [MarkLogic Dev General] Format of parameters passed to ReST /eval endpoint

2016-09-22 Thread David Mathei
nt-Type: multipart/mixed; boundary=fcaec4ec0e29c4bf > > Content-Length: 334 > > Connection: Keep-Alive > > Keep-Alive: timeout=5 > > > > --fcaec4ec0e29c4bf > > Content-Type: text/plain > > X-Primitive: string > > > json:array(http://www.w3.org/200

[MarkLogic Dev General] ML9 rest-api does not honor 'collection' parameter in search?

2017-07-10 Thread David Mathei
Good afternoon, I observed that GETting /v1/search?collection=&structuredQuery= does not filter the results to the collection-members in ML9. /v1/search?collection= does what I'd expect from it, and moving the collection constraint into structuredQuery also works as advertised. In ML8 the first v