updateFTIndex (Database - Java)

Updates the full-text index of a database.

Defined in

Database

Syntax

public void updateFTIndex(boolean create)
    throws NotesException

Parameters

boolean create

Specify true if you want to create an index if none exists (valid only for local databases). Otherwise, specify false.

Usage

An exception is thrown if you attempt to create a full-text index on a database that is not local.

A database must contain at least one document in order for an index to be created, even if the create parameter is set to true.

Example