Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

ICS.IndexDestroy

Deletes a search index.

Syntax

Parameters

sIndex
Full pathname of search index to destroy.

sEngine
Search engine name. If null, the value of the Content Server property, cs.searchengine, is used.

sCharset
Constant value representing the character set the index uses.

For the AltaVista search engine, this value can be 0, 1, or 2 (ASCII7, ASCII8 (Not supported), or UTF8). If sCharSet is null, Content Server uses the value of av.charset in the properties file.

For the Verity search engine, this value specifies the name of the subdirectory of the common directory where the locale is defined. If sCharSet is null, Content Server uses the value of verity.charset in the properties file.

sbError
For return values; may contain error information.

Returns

Returns true on success, false on failure.

Errno

Use GetErrno (), and see Appendix A, "Error Conditions," for the possible errno values.

 

  Home > Contents > Index >

FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.