Skip to main content

CreateSearchIndexOnReload

This variable defines if search index files should be created during data reload.

Syntax:  

CreateSearchIndexOnReload

You can define if search index files should be created during data reload, or if they should be created after the first search request of the user. The benefit of creating search index files during data reload is that you avoid the waiting time experienced by the first user making a search. This needs to be weighed against the longer data reload time required by search index creation.

If this variable is omitted, search index files will not be created during data reload.

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

New apps include set CreateSearchIndexOnReload=1 in the default SET statements. When creating scripts in the Analytics activity center, the SET expressions does not include CreateSearchIndexOnReload as script assets do not persist data, making an index value unnecessary.

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!