Configuration
Online application configuration
Navigate to Search Algorithm Center > Retrieval Configuration > Basic Configuration and select an application name and an online application. The console displays the current analysis configuration for the application.
Offline application configuration
If an offline application already exists, navigating to Search Algorithm Center > Retrieval Configuration > Basic Configuration and selecting the application name and offline application displays its configuration page. The Offline Change button changes to Configure.
Analysis configuration
Configure the index name, the analyzer, and the index fields. For more information, see index schema.
Usage notes
-
You can modify the analysis configuration only as an offline change, not directly on an online application.
-
An application can have a maximum of two versions: one online and one offline. If an offline version already exists:
-
Modifying configurations such as the analysis configuration or application schema before reindexing discards any previously saved offline changes.
-
If reindexing is complete and you make another change that triggers reindexing, such as modifying the application schema or a data source, the existing offline application is deleted and a new one is created.
-
-
OpenSearch separates saving the application schema from reindexing. This ensures that your application schema is preserved even if reindexing fails.
Procedure
Note: This section demonstrates basic configuration by creating a custom analyzer and modifying an online application. Create a custom analyzer only if the default analyzer produces incorrect analysis results.
1. From the homepage, navigate to Search Algorithm Center > Retrieval Configuration > Analyzer Management and create a custom analyzer. In the Create Analyzer dialog box, configure the Name, Analyzer Type (such as a system-built-in analyzer or a custom model analyzer), and the Analyzer.
2. Add new entries to the custom analyzer.
On the Analyzer Management page, find the target analyzer and click Entry Management in the Actions column. Click Add, enter the Query and Analysis Result in the Add Intervention Entry panel, and then click Save. Note: Separate the terms in the analysis result with spaces. For example, to split "beefjerky" into two terms, enter "beef jerky".
3. Return to the Basic Configuration page to modify the online application and add the custom analyzer.
Click Configure in the upper-right corner to enter edit mode. For Analysis Method, select Custom Analyzer and choose the analyzer you created.
4. Configure incremental data synchronization and automatic deployment for the new version.
After modifying the index schema, click Next. The New Application dialog box appears with Yes selected for both options by default. If you select No:
-
The offline application will not receive real-time incremental data (such as updates from API calls or data sources) from the online application while the new version is being built.
-
The new version is not automatically published after a full reindex completes. If you do not publish the new version online after a successful build, it is retained indefinitely, bypassing the 8-hour automatic deletion rule for offline versions.
5. After you save the configuration, an offline application with a "Reindexing" status appears.
Note: While an offline application is reindexing, the Offline Change button for the online version is disabled.
6. After reindexing for the offline application is complete, test it to ensure search works as expected. Then, publish it online.
After the switch completes, navigate to the Basic Configuration page and select Online Application. The analysis method for the title index now shows the custom analyzer test_zw, confirming the offline change was published successfully.
Important notes
-
Each application in an instance supports a maximum of two versions: one online and one offline. If both versions already exist, modifying the application schema overwrites the existing offline application.
-
Analyzer modifications take effect only after reindexing.