Home > Contents > Index >
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   Index 


INDEXCREATE (Deprecated)

Deprecated as of Content Server version 7.6



INDEX (required)
The full path name of the index to create is required in the tag unless the properties av.defaultindex or verity.defaultindex have been specified in the futuretense.ini file.

FIELDARGUMENT (optional, used by Verity only)
Defines subfields of a Verity search index. Index subfields must be defined when INDEXCREATE is called. Valid FIELDARGUMENT types are DATE and TEXT.

Constant value representing the character set the index uses. For the AltaVista search engine this value may be 0, 1, or 2 (ISO_LATIN1, UTF8, ASCII8). If you do not specify CHARACTERSET, Sites uses the value of av.charset in 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. Note that case-sensitivity is important with directory names. If you do not specify CHARACTERSET, Sites uses the value of verity.charset in the Sites properties file.

Name of the search engine to use. If SEARCHENGINE is not specified, Sites uses the value of cs.searchengine from the Sites properties file.


The 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 the INDEX 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 using FIELDARGUMENT tags when the index is created.

Error Numbers

The possible values of errno include:

Cannot load search engine.
Unsupported search function. Content Server 7.6 3.0 and earlier returned this error; however, Content Server 7.6 3.1 and higher no longer return this error.
Create index failed.
No default index specified.
Unknown search engine.
Could not call native method.
Duplicate field values. (Verity only)
Unrecognized field type. (Verity only)
Index already exists.(Verity only)

  Home > Contents > Index >

Oracle XML Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.