IsFTIndexed (NotesDatabase - JavaScript)

Read-only. Indicates whether or not a database has a full-text index.

Defined in

NotesDatabase

Syntax

isFTIndexed() : boolean
Return value Description
boolean True if the database is indexed; false otherwise.

Usage

The database must be open to use this property.

Examples

This data binding for a multiline edit box returns the subject values for all documents containing "new" in a full-text search. The index is created if necessary.
if (database.isFTIndexed()) {
	database.updateFTIndex(false)
} else {
	database.createFTIndex(0, true)
}
var list = "";
var dc = database.FTSearch("new");
var doc = dc.getFirstDocument();
while (doc != null) {
	list = list + doc.getItemValueString("Subject") + "\n";
	var tmpdoc = dc.getNextDocument();
	doc.recycle();
	doc = tmpdoc;
}
return list