Hi,

There is an issue with the order of the request parameters passed in the URL of 
ML 6 REST Server.

We have identified that the request parameter "collection" should be passed 
only after the "options" parameter.
If not passed, the collection is being passed as empty and we get 'XDMP-URI: 
cts:collection-query("") -- Invalid URI format: ""' error

Wrong Format:
/v1/search?collection=Cars&options=test-transform<http://172.17.103.44:9000/v1/search?collection=Lessonplan&options=search-lessonplan-transform-json&view=facets&format=json&q=Auth%3aorgId%3dPERF0006%3bplatform%3dTCK>
Correct Format:
/v1/search?options=test-transform&collection=Cars<http://172.17.103.44:9000/v1/search?options=search-lessonplan-transform-json&collection=Lessonplan&format=json&q=Auth%3aorgId%3dPERF0006%3bplatform%3dTCK>

Can anyone confirm, is this supposed to be the order in which they are supposed 
to be passed?

Thanks,
Rahul K
This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored.
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to