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

 

ICS.IndexAdd (Deprecated)

Deprecated as of Content Server version 7.6

Syntax

Parameters

sIndex
The name of the search index. If null, the default index is specified in the Sites properties av.defaultindex or verity.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. Choose sEntryName 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 if sWordListDelimiters 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, the IndexAdd 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 is null, Sites uses the value of av.charset in the properties file.

sbError
For return values; may contain error information.

Returns

Returns true on success, false on failure.

Error Numbers

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

 

  Home > Contents > Index >

Oracle JAVA Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.