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


SEARCH (Deprecated)

Deprecated as of Content Server version 7.6; Replaced by Search API



INDEX (optional)
Name of the index to search. Default is specified in the Sites properties file.

WHAT (required)
Query to submit. This should be in the format the given search engine understands and may also depend on the QUERYPARSER value.

LIST (required)
Name of the output list. Columns returned are:

QUERYPARSER (optional for Verity)
The AltaVista search engine supports three search types--Simple, Advanced, and Combined. Advanced is the default, and was previously the only one supported.

The simple search syntax uses optional + or - signs on a word or phrase to indicate that it is required or prohibited in the search results. The Advanced syntax uses Boolean operators (such as and, or, not, near) to constrict complex queries. In both cases, the query is passed in the WHAT parameter. The RELEVANCE parameter is ignored.

The combined syntax uses both types of syntax. A Boolean query is specified by the WHAT parameter and a simple query is specified by the RELEVANCE parameter to determine the ranking order of the results.

The Verity search engine supports three query parsers--Simple, FreeText, and BoolPlus. The optional QUERYPARSER tag tells the Verity search engine the syntax of the WHAT clause. If this argument is omitted, then the Simple parser is used by default. The parser may be specified by the verity.parser property in the futuretense.ini file. The choice of parser determines the syntax and form of the query

RELEVANCE (optional for AltaVista)
Boolean term to be used for computing relevance ranking.

LIMIT (optional)
Maximum number of results to return to the list.

Constant value representing the character set the index uses.

For the AltaVista search engine this value can be 0, 1, or 2 (ISO_LATIN1, ASCII8, UTF8). If you do not specify CHARACTERSET, Sites uses the value of av.charset from 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 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 SEARCH tag searches an index based on a query. The resultset of the query is stored in a list.

Error Numbers

The possible values of errno include:

No search results.
Bad search type.
Cannot load search engine.
Unsupported search function.
No default index specified.
Unknown search engine.
Search failed.
Bad character set.
Could not call native method.
Index does not exist.

  Home > Contents > Index >

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