Home > Contents > Index > 
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index 
ics:indexreplace (Deprecated)
Deprecated as of Content Server version 7.6
Syntax
<ics:indexreplace entry="entry name" index="index name" detail="entry detail" [wordlist="words"] [wordlistdelimiters="delimiters"] [filelist="files"] [date="date string"] [characterset="character_set"] [searchengine="name"] [filelist="file list"] [date="date"] />Parameters
wordlist (optional)- Words to add to the index. These are whitespace-separated by default but you can use the
wordlistdelimitersparameter to specify something else. Use this parameter to replace text that is not associated with a field of the index.
wordlistdelimiters (optional)- String containing delimiter characters to use to separate words in the value of the
ics:textargumenttag and thewordlistparameter. White space is used as delimiter characters ifwordlistdelimitersis not specified.
filelist (optional)- For AltaVista, specify a comma-separated list of files to add. For Verity, specify a single file (not a list of files). Use this parameter to replace text that is not associated with a field of the index.
date (optional)- Date string to replace to the index entry. If no date string is specified, the
ics:indexaddtime is returned in the search results. Format is in Java SQL.
characterset (optional)- Constant value representing the character set the index uses. For the AltaVista search engine this value may be 0, 1, or 2 (ISO_LATIN1, ASCII8, UTF8). If you do not specify
characterset, Sites uses the value ofav.charsetfrom the Sites properties file. Because Java Strings are transformed to UTF8, as they pass through the JNI interface to AltaVista, the 0 value only works for 7-bit ASCII. For all other cases, use the value for UTF8. For the Verity search engine, this value specifies the name of the subdirectory of the common directory where the locale is defined. If you do not specifycharacterset, Sites uses the value ofverity.charsetin the Sites properties file.
searchengine (optional)- Name of the search engine to use. If
searchengineis not specified, Sites uses the value ofcs.searchenginein the Sites properties file.
Description
The
ics:indexreplacetag replaces an existing entry in a search index.Arguments are optional using
ics:fileargument,ics:dateargument, andics:textargumenttags. These arguments specify the index field (thenameparameter) to which the data (thevalueparameter) is added. Theics:fileargumentvalue is a comma separated list of files whose content is added to the index with the given name. Theics:dateargumentis a date string specified inJAVASQLformat. Theics:textargumentvalue is a string delimited by white space. The white-space delimiter characters may be overridden by theworddelimiterstag.The search engine collects arguments with the same name into a concatenated single value for that field.
Error Numbers
The possible values of
errnoinclude:
Home > Contents > Index > 
Oracle JSP Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.