JAVA/CORBA CLASSES


FTDomainSearch method
Conducts a Domain Search, that is, a full-text search of all databases listed in a Domain Catalog and marked as included for multi-database indexing.

Defined in

Database

Syntax

public Document FTDomainSearch(String query, int max, int sortopt, int otheropt, int start, int count, String entryForm)
   throws NotesException

Parameters

String query


int max
int sortopt otheropt int start
int count
String entryForm
Return value

Document


Usage

The current Database object must represent a Domain Catalog.

If you don't specify any sort options, you get the documents sorted by relevance score. If you ask for a sort by date, you don't get relevance scores.

Query syntax

To search for a word or phrase, enter the word or phrase as is, except that search keywords must be enclosed in quotes. Remember to escape quotes if you are inside a literal.

Wildcards, operators, and other syntax are permitted. For the complete syntax rules, see "Refining a search query using operators" in Lotus Notes Help. Search for "query syntax" in the Domino Designer Eclipse help system or information center (for example, http://publib.boulder.ibm.com/infocenter/domhelp/v8r0/index.jsp), both of which include Lotus Notes.

Language cross-reference

FTDomainSearch method in LotusScript NotesDatabase class

See Also