The second step in implementing full-text search in your application is generating the search index.
To generate the search index, use the buildSearchIndex() method of the
Web object. This method takes no arguments.
The following example shows a function
webcall function StartBuildIndex()
The search index could not be built.<br><br>
Additional information: <%=e.Description%>
Each catalog that is successfully indexed is recorded in the /system/log
If there is invalid XML in the search.xml file, the buildSearchIndex()
method throws an exception.
You can use the deleteSearchIndex() method to delete the search index.
Note that it's not necessary to delete the search index in order to update it;
recreating the search index will overwrite the existing index.