Deleting an Index
You have the option of using this RESTful web service request to delete an index.
HTTP Method: POST
REST URL Format:
http://host:port/ibi_apps/rs/indexadmin?IBIRS_action=deleteIndex&IBIRS_indexName=name
where:
Is the name of the system where WebFOCUS is installed.
Is the port number used by WebFOCUS.
Is the name of the index that will be deleted. If you do not know the exact name of the index, open the Magnify Console, navigate to the Maintenance group, and click Delete Indexes to display the list of open indexes. Deleting an index automatically saves a back-up copy of the index to your file system.
Example:
The following example is an HTTP POST request sent to delete the index retail_IBI_SUGGEST_CONTENT:
Post Request URL:
http://localhost:8080/ibi_apps/rs/indexadmin?IBIRS_action=deleteIndex&IBIRS_indexName=retail_IBI_SUGGEST_CONTENT
Response:
The following code is an example of a successful response. Each deleted index is defined with the opening and closing entry key tag. The value attribute defines the name of the deleted index.
<ibfsrpc _jt="IBFSResponseObject" language="en_US" name="deleteIndex" returncode="10000" returndesc="SUCCESS" subreturncode="0" type="simple">
<ibfsparams size="1">
<entry key="IBIRS_indexName" value="retail_IBI_SUGGEST_CONTENT"/>
</ibfsparams>
<rootObject _jt="string"/>
</ibfsrpc>