Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
ICS.IndexAdd (Deprecated)
Deprecated as of Content Server version 7.6
Syntax
public boolean IndexAdd(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.defaultindex
orverity.defaultindex
as appropriate.
sEntryName
- Name of the index entry to add. This value is returned in the search results. The
sEntryName
value must be unique within an index. ChoosesEntryName
values 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
vITextArguments
is 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 ifsWordListDelimiters
is not specified.
sFileList
- Comma-separated list of files to add. Note that
vIFileArguments
is the preferred way to add files.
sDate
- Date string to add to the index entry. If no
sDate
is specified, theIndexAdd
time 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 that the index uses. For the AltaVista search engine, this value can be 0, 1, or 2 (ISO_LATIN1, UTF8, or ASCII8). If
sCharSet
isnull
, Sites uses the value ofav.charset
in the properties file.
sbError
- 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, 2016, Oracle and/or its affiliates. All rights reserved.