Delete an Index

  • Madan Mohan

    Madan Mohan - 2012-06-01

    I have created an index and added an URL to crawl. After a successful crawl of
    30 pages I would like to add that URL to the exclusion list and then get the
    details of the indexes created. After getting the response (in an XML format)
    I would like to delete this index. I am doing an API request from another
    application (for all these activities).

    I am unable to delete the Index with the following request. Please help me ...


    I got the below response. However, the index is not deleted.


    <entry key="Status">OK</entry>

    <entry key="Info">Nothing to do</entry>


  • Naveen A.N

    Naveen A.N - 2012-06-01

    Hello Madan,

    For deleting an index through the API you need another parameter named

    The "" and the ""should be same.

    The parameter "index.template" is not needed for deleting an index it is used
    for creating an index.

    Example for deleting an index through API:


    The response will be show below

        <entry key="Info">Index deleted: index1</entry>
        <entry key="Status">OK</entry>
  • Naveen A.N

    Naveen A.N - 2012-06-01

    Thank you for your suggestion we will update it as soon as possible.



Log in to post a comment.