Hi, Puneet:

Can you provide an example of the REST API call that you're making to analyze 
data?


Erik Hennum

________________________________
From: [email protected] 
[[email protected]] on behalf of Yinyan guy 
[[email protected]]
Sent: Saturday, May 02, 2015 6:35 AM
To: [email protected]
Subject: [MarkLogic Dev General] Analyze-data.xqy with JSON data

Hi All,
I am exploring the use of the analyze-data for index suggestion on my data. I 
am using ML8 and my data is JSON. On running analyze-data using the REST API, I 
got 400: Bad Request with message "XDMP-UNEXPECTED: (err:XPST0003) Unexpected 
token syntax error, unexpected Rpar_, expecting Function30_ or Percent_"

I guess it works only with xml data. is there a JSON version in works?


Looking forward to hear from you.
regards,
Puneet






_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to