Skip to main content

CreateSearchIndexOnReload

This variable defines if search index files are created when an app's data is reloaded.

Syntax:  

CreateSearchIndexOnReload

You can define if search index files are created during data reload, or if they are created with the first user search request.

Creating search index files during data reload avoids the waiting time experienced by the first user search. This must be weighed against the longer data reload time required by search index creation.

Omitting this variable (or setting to 0) results in the search index files not being created during data reload.

If this variable is set to 1, search index files are created upon data reload, with the following condition:

  • The first time a reload is performed on the app.

  • The app has been searched recently (determined by the number of days that have passed since the last search was performed on the app).

  • The app's data is relatively large (determined by the duration of the most recent index creation).

Information noteFor session apps, search index files will not be created during data reload, regardless of the setting of this variable.

Example 1: Create search index fields during data reload

set CreateSearchIndexOnReload=1;

Example 2: Create search index fields after first search request

set CreateSearchIndexOnReload=0;

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!