HI Eric,Thank You for your response!.I am using following call "http://localhost:8040/v1/resources/analyze-data"This has worked for me in this past for XML documents and when I was using ML7. Now I am using it on ML8 and with JSON documents.regards,Puneet From: [email protected] To: [email protected] Date: Sun, 3 May 2015 13:36:29 +0000 Subject: Re: [MarkLogic Dev General] Analyze-data.xqy with JSON data
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
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
