[Corona] How to create element range index in Corona

Clark Richey Clark.Richey at marklogic.com
Sat Apr 21 07:39:31 PDT 2012


What http Vern are you using in that request? A GET request is a query. I don't have the docs in front of me at the moment but you need to pay careful attention to the http verbs. I believe a PUT is what you are looking for.

----
Sent from my iPad

Clark D. Richey, Jr.
Principal Technologist / SE Manager DoD
MarkLogic
+1 240 252 7507 Cell
Clark.Richey at marklogic.com<mailto:Clark.Richey at marklogic.com>


1600 Tysons Blvd., 8th Floor
McLean, VA 22102
www.marklogic.com<http://www.marklogic.com>

This e-mail and any accompanying attachments are confidential. The information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution, or use of this e-mail communication by others is strictly prohibited. If you are not the intended recipient, please notify us immediately by returning this message to the sender and delete all copies. Thank you for your cooperation.

On Apr 21, 2012, at 10:02 AM, "Gnanaprakash Bodireddy" <gnanaprakash.bodireddy at gmail.com<mailto:gnanaprakash.bodireddy at gmail.com>> wrote:

Hi,

I am trying to create an element range index as below

http://127.0.0.1:9000/manage/range/resource?element=resource&type=string
Response is

{"error":{"status":404,"code":"corona:RANGE-INDEX-NOT-FOUND","message":"Range index not found"}}

Is this the way to search for an index Or Create an index?

i tried to create this index directly in marklogic and access the above URL, then also i am getting the same response.

Can you please guide me in creating a range index directly.

I am able to create index using SOAP UI. but i want to know how to create directly using Corona.
--
Thanks and Regards,
Gnanaprakash Bodireddy
Phone | Mobile: +918897575644 | gnanaprakash.bodireddy at gmail.com<mailto:gnanaprakash.bodireddy at gmail.com>

_______________________________________________
Corona mailing list
Corona at developer.marklogic.com<mailto:Corona at developer.marklogic.com>
http://developer.marklogic.com/mailman/listinfo/corona
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/corona/attachments/20120421/fd4ad3d1/attachment.html 


More information about the Corona mailing list