REFERENCE


Index command
Used in a Server.Load script to update the currently open collection.

Syntax

Index

Example

Updating a view collection with the Index command. In this example, the thread number is substituted for the pound symbol [#].

* Create one or more databases on mail server using (journal.ntf)

* NOTES.INI file contains setting templateversion=4

* Creation of multiple databases, based on the number of threads

* All test databases will be placed in the journal directory.

changeto [MailServer]!!journals\journal[#].nsf journal[templateversion].ntf -KeepOpen

pause 5000

* Populate the view with 10 documents

populate 10

pause 5000

open

* Update the view index

index

pause 5000

* Close the view collection

close

Related topics