Lotus Software logo
IBM Lotus Domino Designer 8.5
Versions 8.5, 8.5.1, 8.5.2, and 8.5.3






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

Language cross-reference

IsFTIndexed property in LotusScript® NotesDatabase class

IsFTIndexed property in Java™ Database class




Library | Support | Terms of use |

Last updated: Tuesday, September 20, 2011