Home > Contents > Index >
ics:indexcreate (Deprecated)
Deprecated as of Content Server version 7.6
Syntax
<ics:indexcreate index="index name" charset="character set" [searchengine="name"]/>Parameters
index (required)
- Full path name of the index to create.
searchengine (optional)
- Name of the search engine to use. If
searchengine
is not specified, Sites uses the value ofcs.searchengine
from the Sites properties file.
Description
The
ics:indexcreate
tag creates a search index. For AltaVista, this creates the directory where the index is stored. For Verity, however, this creates a more complex base structure for the index in the directory specified by theindex
parameter. In particular, it needs to create the structures that hold the field information for the index. Therefore, the fields that are used must be specified usingics:fieldargument
tags when the index is created.Error Numbers
The possible values of
errno
include:
Value Description -801 Cannot load search engine. -802 Unsupported search function. Content Server 3.0 and earlier returned this error; however, Content Server 3.1 and higher no longer return this error. -803 Create index failed. -805 No default index specified. -806 Unknown search engine. -811 Could not call native method. -815 Duplicate field values. (Verity only) -819 Unrecognized field type. (Verity only) -822 Index already exists.(Verity only)
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.