cfdocs

ormIndex

Performs offline indexing - using this function without specifying parameters, all persistent entities of a given application are indexed.

ormIndex(); ormIndex('entity_name'); ormIndex('entity_list'); ormIndex('entityObject');
returns void

Script Syntax

EmpOBJs = entityLoad('employee', {lastname='Bond'}); 
 for(EmpObj in EmpObjs) 
 { 
 ormIndex(empObj); ]r]n }