class Index example
The following statements create an instance of an Index( ) object, define it's indexName and fields properties, and create a new index using createIndex( ).
i=new Index()
i.indexName :="indexname"
i.fields :="field1;field2; ..."
// other properties
_app.databases[1].createIndex("tablename",i)