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

 

ICS.Search (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.

sWhat
Query to submit. This should be in the format the given search engine understands.

sRelevance
The relevance string. May be null.

sQueryParser
The AltaVista search engine supports three search types--Simple, Advanced, and Combined. Advanced is the default.

The Verity search engine supports three query parsers-Simple, FreeText, and BoolPlus. The optional QueryParser parameter 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.

nMaxResults
The maximum number of results to return. Set this to 0 for unlimited results.

vlAdditionalIndexes
The name/value pairs of additional indexes to search. May be null.

sList
Name of the output list. Columns returned are:

sEngine
Search engine name. If null, the value of the Sites property, cs.searchengine, is used.

sCharset
Constant value representing the character set the index uses.

sbError
For return values; may contain error information.

Description

The Search method searches an index. The resultset of the query is stored in a list.

Returns

Returns the name/value pairs of the result set. If an error occurs, or if there are no results satisfying the query, then a null is returned.

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.