Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
ICS.IndexReplace (Deprecated)
Deprecated as of Content Server version 7.6
Syntax
public boolean IndexReplace(String sIndex, String sEntryName, String sEntryDetail, String sWordList, String sWordListDelimiters, String sFileList, String sDate, FTValList vlTextArguments, FTValList vlFileArguments, FTValList vlDateArguments, String sEngine, String sCharset, StringBuffer sbError)Parameters
sIndex- The name of the search index. If
null, the default index is specified in the Sites propertiesav.defaultindexorverity.defaultindexas appropriate.
sEntryName- Name of the index entry to add. This value is returned in the search results. The
sEntryNamevalue must be unique within an index. ChoosesEntryNamevalues carefully so that the caller of the search can reference the associated article(s).
sEntryDetail- The detail string associated with entry. May be
null. This value is returned in the search results.
sWordList- Words to add to the index. These are space-separated by default. Note that
vITextArgumentsis the preferred way to add words to the index.
sWordListDelimiters- String containing delimiter characters to use to separate words in the value of
vITextArguments. White space will be used as delimiter characters ifsWordListDelimitersis not specified.
sFileList- Comma-separated list of files to add. Note that
vIFileArgumentsis the preferred way to add files.
sDate- Date string to add to the index entry. If no
sDateis specified, theIndexAddtime is returned in the search results. Format is in Java SQL.
vlTextArguments- The text argument names and values. May be
null.
vlFileArguments- The file argument names and values. May be
null.
vlDateArguments- The date argument names and values. May 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 (ISO_LATIN1, ASCII8, or UTF8). If
sCharSetisnull, Sites uses the value ofav.charsetin the properties file.
sbError- For return values; may contain error information.
Returns
Returns
trueon success,falseon failure.Error Numbers
Use
, and see Appendix A, "Error Conditions," for the possibleGetErrno()errnovalues.
Home > Contents > Index > ![]()
Oracle JAVA Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.