Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
ICS.IndexCreate (Deprecated)
Deprecated as of Content Server version 7.6
Syntax
public boolean IndexCreate(String sIndex, FTValList vlFieldArguments, String sEngine, String sCharset, StringBuffer errstr)Parameters
sIndex
- Full path name to the index to create. May be null.
vlFieldArguments
- A list of field names and type values defining the subfields of a Verity search index. For Verity, index subfields must be defined when the index is created. The valid field types are
DATE
andTEXT
. For AltaVista, this argument must be null.
sEngine
- Search engine name. If null, the value of the Sites 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
isnull
, Sites uses the value ofav.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
isnull
, Sites uses the value ofverity.charset
in the properties file.errstr
- For return values; may contain error information.
Returns
Returns
true
on success,false
on failure.Error Numbers
Use
, and see Appendix A, "Error Conditions," for the possible
GetErrno
()errno
values.
Home > Contents > Index > ![]()
Oracle JAVA Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.