Deleting the index
Delete the index by deleting the contents of the directory specified by the IBM WebSphere® Application Server variable, SEARCH_INDEX_DIR.
About this task
When you delete the index, you might also want to delete the content of the extracted file store used by the Search index. However, the existing extracted file content can be reused when generating a new index so, if the files were previously indexed successfully, it is generally preferable to keep the extracted content to reduce index recreation time.
Procedure
To delete the Search index, complete the following steps.
- Check the value of the SEARCH_INDEX_DIR WebSphere® Application Server variable for
the relevant server:
- Optional: If you want to delete the contents
of the extracted file store, check the value of the EXTRACTED_FILE_STORE WebSphere® Application Server
variable for the server:
- Shut down the Search server or cluster.
- Delete the contents of the index folder that you noted in step 1e.
- Optional: Delete the contents of the extracted file content folder that you noted in step 2b.
- Rebuild the index by following the steps described in Recreating the Search index.