Whatever message this page gives is out now! Go check it out!

Indexing modes

Last update:
Jun 9, 2026
Using ColdFusion ORM, you can perform indexing either automatically or in offline mode.

Auto-indexing

Indexing is performed every time an entity is added, revised, or deleted from the database.
To enable auto-indexing, set ormsettings .searchenabled to true in the Application.cfc.
Indexing is automatically done whenever an ORM entity is persisted, based on the configuration in CFCs. For details, see Specify the ORM search settings in Indexing the persistent entity.

Offline indexing

Indexing is performed manually with the help of ColdFusion functions. In this mode, indexing is performed in batches.

You may want to perform offline indexing in the following scenarios:
  • Index all or some of the pre-existing data in a database.
  • Avoid in-request indexing (default behavior) to minimize CPU load, and later perform indexing as     batch    operation.

    The function ORMIndex lets you perform offline indexing.

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page