CreateFTIndex (NotesDatabase - LotusScript®)

Creates a full-text index for a database.

Note: This method is new with Release 6.

Defined in

NotesDatabase

Syntax

Call notesDatabase .CreateFTIndex( options& , recreate )

Parameters

options&

Constant of type Long. Combine options with addition.

  • FTINDEX_ALL_BREAKS (4) to index sentence and paragraph breaks
  • FTINDEX_ATTACHED_BIN_FILES (16) to index attached files (binary)
  • FTINDEX_ATTACHED_FILES (1) to index attached files (raw text)
  • FTINDEX_CASE_SENSITIVE (8) to enable case-sensitive searches
  • FTINDEX_ENCRYPTED_FIELDS (2) to index encrypted fields

recreate

Boolean. Removes any existing full-text index before creating one. If this parameter is False and an index exists, no action is taken.

Usage

This method works only for local databases.

Example