# es-text_analysis

Part of **ES**

<!-- intent-backlink:auto -->

> 💡 **Path Selection**: This skill is one implementation path for [Optimize search result relevance](../../intent/es-optimize-results/SKILL.md). If you're unsure which path to take, check the routing skill first.

# Elasticsearch Text Processing Console Guide

## Operations Overview

| Operation | Console Entry | Prerequisites | Description |
|----------|---------------|---------------|-------------|
| Manage Analyzers in Console | Console > Search Algorithm Center > Retrieval Configuration > Analyzer Management | Log on to the OpenSearch console | View and manage built-in and custom analyzers for text segmentation |
| Manage Intervention Dictionaries for Category Prediction | Console > Search Algorithm Center > Retrieval Configuration > Dictionary Management | Access to console; configured category prediction model; permissions | Create and manage dictionaries that adjust relevance scores for specific query-category pairs |
| Manage Intervention Dictionaries for NER | Console > Search Algorithm Center > Retrieval Configuration > Dictionary Management | OpenSearch app with NER; E-commerce Analyzer set up; console access | Correct named entity recognition results using full/partial match rules |
| Manage Intervention Dictionaries for Spelling Correction | Console > Search Algorithm Center > Retrieval Configuration > Dictionary Management | Console access; existing query analysis rule; permissions | Define custom spelling corrections by mapping misspelled queries to corrected terms |
| Manage Intervention Dictionaries for Stop Words | Console > Search Algorithm Center > Retrieval Configuration > Dictionary Management | Console access; query analysis rule with stop word filtering enabled | Add or block custom stop words to control their inclusion in retrieval |
| Manage Intervention Dictionaries for Synonyms | Console > Search Algorithm Center > Retrieval Configuration > Dictionary Management | Console access; configured application with query analysis rules | Define synonym mappings to expand search queries with equivalent terms |
| Manage Intervention Dictionaries for Term Weight Analysis | Console > Search Algorithm Center > Retrieval Configuration > Dictionary Management | OpenSearch application created; console access; app version ID | Assign high/medium/low weights to segmented terms to influence retrieval ranking |
| Configure Query Analysis Rule for NER | Console > Search Algorithm Center > Retrieval Configuration > Query Analysis Rule Management | Console access; existing app with online/offline version; permissions | Enable Named Entity Recognition in a query analysis rule for e-commerce queries |
| Configure Query Analysis Rule for Spelling Correction | Console > Search Algorithm Center > Retrieval Configuration > Query Analysis Rule Management | Console access; existing app with online/offline version | Enable spelling correction using built-in or custom intervention dictionaries |
| Configure Query Analysis Rule for Stop Word Filtering | Console > Search Algorithm Center > Retrieval Configuration > Query Analysis Rule Management | Console access; existing app with online/offline version | Enable stop word filtering using built-in or custom dictionaries |
| Configure Query Analysis Rule for Synonyms | Console > Search Algorithm Center > Retrieval Configuration > Query Analysis Rule Management | Console access; existing app with online/offline version; permissions | Enable synonym expansion in query analysis using built-in or custom dictionaries |
| Configure Query Analysis Rule for Term Weight Analysis | Console > Search Algorithm Center > Retrieval Configuration > Query Analysis Rule Management | Console access; existing app with online/offline version | Enable term weight analysis to prioritize terms during query rewriting |

## Operation Steps

### Manage Analyzers in Console

**Navigation**: Console > Search Algorithm Center > Retrieval Configuration > Analyzer Management

**Prerequisites**:
- Log on to the OpenSearch console

1. Navigate to the **Search Algorithm Center** section  
   - Element: **Search Algorithm Center** (menu) — left-side navigation pane

2. Select **Retrieval Configuration** from the submenu  
   - Element: **Retrieval Configuration** (menu) — left-side navigation pane

3. Click on **Analyzer Management** in the left-side pane  
   - Element: **Analyzer Management** (link) — left-side pane  
   - Notes: This displays both built-in and custom analyzers

### Manage Intervention Dictionaries for Category Prediction

**Navigation**: Console > Search Algorithm Center > Retrieval Configuration > Dictionary Management

**Prerequisites**:
- Access to the OpenSearch console
- A configured category prediction model
- Permission to manage dictionaries and configure retrieval settings

1. Navigate to **Search Algorithm Center > Retrieval Configuration**  
   - Element: **Search Algorithm Center** (menu) — left-side navigation pane

2. Click **Dictionary Management** in the left-side pane  
   - Element: **Dictionary Management** (link) — left-side pane

3. Click **Create** in the upper-right corner to start creating a new intervention dictionary  
   - Element: **Create** (button) — upper-right corner

4. Specify a name for the dictionary and set the **Dictionary Type** to **Category Prediction**  
   - Element: **Category Prediction** (dropdown) — Create Query Analysis Dictionary panel

5. After creation, find the dictionary in the list and click **Manage Entries** in the Actions column  
   - Element: **Manage Entries** (link) — Actions column

6. Click **Add Intervention Entry** to create a new entry  
   - Element: **Add Intervention Entry** (button) — Manage Entries page

7. Enter the search query and category ID-relevance pairs in the specified format  
   - Element: **Query** (text_input) — Query column  
   - Notes: Format: category ID-relevance value; multiple pairs separated by semicolons

8. Apply the intervention dictionary to an online category prediction model  
   - Element: **Apply** (button) — model configuration page  
   - Notes: Must be applied to an online application to take effect

| Parameter | Type | Required | Options/Values | Description |
|-----------|------|----------|----------------|-------------|
| Name | text_input | Yes | — | The unique name for the intervention dictionary |
| Dictionary Type | dropdown | Yes | Category Prediction | Selects the type of intervention dictionary being created |
| Query | text_input | Yes | — | The exact search query to which the intervention applies |
| Category ID-Relevance | text_input | Yes | — | One or more category ID-relevance pairs in format 'ID-value'; values are 0 (none), 1 (weak), 2 (strong) |

### Manage Intervention Dictionaries for NER

**Navigation**: Console > Search Algorithm Center > Retrieval Configuration > Dictionary Management

**Prerequisites**:
- An OpenSearch application instance with NER capabilities configured
- Access to the OpenSearch console
- E-commerce Analyzer already set up

1. Click **Create** in the upper-right corner of the Dictionary Management page  
   - Element: **Create** (button) — upper-right corner of the Dictionary Management page

2. Set **Dictionary Type** to **Entity Recognition**  
   - Element: **Dictionary Type** (dropdown) — main content area  
   - Notes: Only 'E-commerce Analyzer' is available as a selection when this type is chosen.

3. Find the dictionary in the list and click **Manage Entries** in the Actions column  
   - Element: **Manage Entries** (link) — Actions column on the Dictionary Management page

4. Click **Add Intervention Entry** to add a new entry  
   - Element: **Add Intervention Entry** (button) — Manage Entries page

5. Associate the dictionary with an unpublished query analysis rule and test before publishing  
   - Element: **Associate with unpublished query analysis rule** (link) — Query Analysis Rule Management page  
   - Notes: Perform a search test before publishing to ensure expected performance.

| Parameter | Type | Required | Options/Values | Description |
|-----------|------|----------|----------------|-------------|
| Dictionary Type | dropdown | Yes | Entity Recognition | Selects the type of dictionary; only 'Entity Recognition' is valid for NER intervention. |
| Associated Analyzer | dropdown | Yes | E-commerce Analyzer | Must match the analyzer used in indexes for the intervention to work. |
| Intervention Type | dropdown | No | Full Match, Partial Match | Determines whether the intervention applies to exact or partial matches of the search query. |
| Ignore Spaces | checkbox | No | — | When enabled, spaces in search queries are ignored during NER intervention. |

### Manage Intervention Dictionaries for Spelling Correction

**Navigation**: Console > Search Algorithm Center > Retrieval Configuration > Dictionary Management

**Prerequisites**:
- Access to OpenSearch console
- Existing query analysis rule setup
- Permissions to create and manage dictionaries

1. Navigate to **Dictionary Management**  
   - Element: **Dictionary Management** (link) — left-side pane

2. Click **Create** in the upper-right corner  
   - Element: **Create** (button) — upper-right corner

3. Specify a name and set **Dictionary Type** to **Spelling Correction**  
   - Element: **Dictionary Type** (dropdown) — Create Query Analysis Dictionary panel  
   - Notes: Ensure the type is set to 'Spelling Correction' for this use case.

4. Find the created dictionary and click **Manage Entries** in the Actions column  
   - Element: **Manage Entries** (link) — Actions column

5. Click **Add Intervention Entry**  
   - Element: **Add Intervention Entry** (button) — top of the page

6. Enter the incorrect search query and corrected word  
   - Element: **Search Query** (text_input) — Add Intervention Entry panel  
   - Notes: Example: 'hujian' → 'fujian'

7. Set **Intervention Type** to **Add** and click **Save**  
   - Element: **Save** (button) — bottom of the form

8. Go to **Query Analysis Rule Management** and associate the dictionary with a rule  
   - Element: **Create** (button) — upper-right corner  
   - Notes: Select the newly created dictionary from the available options.

| Parameter | Type | Required | Options/Values | Description |
|-----------|------|----------|----------------|-------------|
| Dictionary Name | text_input | Yes | — | A unique name for the intervention dictionary. |
| Dictionary Type | dropdown | Yes | Spelling Correction | Specifies the purpose of the dictionary. Must be 'Spelling Correction' for this feature. |
| Search Query | text_input | Yes | — | The incorrect or misspelled search term that needs correction. |
| Corrected Word | text_input | Yes | — | The intended correct version of the search query. |
| Intervention Type | radio | Yes | Add, Block | Determines whether the correction should be applied (Add) or prevented (Block). |

### Manage Intervention Dictionaries for Stop Words

**Navigation**: Console > Search Algorithm Center > Retrieval Configuration > Dictionary Management

**Prerequisites**:
- Access to the OpenSearch console
- A query analysis rule with stop word filtering enabled

1. Navigate to the **Dictionary Management** page  
   - Element: **Search Algorithm Center** (menu) — left-side navigation pane

2. Click **Create** in the upper-right corner  
   - Element: **Create** (button) — upper-right corner of the Dictionary Management page

3. Specify a name and set **Dictionary Type** to **Stop Word**  
   - Element: **Dictionary Type** (dropdown) — Create Query Analysis Dictionary panel

4. Find the dictionary and click **Manage Entries** in the Actions column  
   - Element: **Manage Entries** (link) — Actions column

5. Click **Add Intervention Entry**  
   - Element: **Add Intervention Entry** (button) — top of the entry management page

6. Enter a stop word and select **Add** as the **Intervention Type**  
   - Element: **Stop Word** (text_input) — Add Intervention Entry panel

7. Click **Save** to save the entry  
   - Element: **Save** (button) — bottom of the Add Intervention Entry panel

8. Go to **Query Analysis Rule Management** and associate the dictionary with a rule  
   - Element: **Create** (button) — upper-right corner of the Query Analysis Rule Management page

9. Perform a search test to verify the effect  
   - Notes: Test with sample queries like 'Hainan has bananas' to ensure documents containing 'Hainan bananas' are retrieved.

| Parameter | Type | Required | Options/Values | Description |
|-----------|------|----------|----------------|-------------|
| Name | text_input | Yes | — | The name of the intervention dictionary. |
| Dictionary Type | dropdown | Yes | Stop Word | The type of dictionary to create. Select 'Stop Word' to define custom stop words. |
| Stop Word | text_input | Yes | — | The word to be added or blocked as a stop word in search queries. |
| Intervention Type | dropdown | Yes | Add, Block | Specifies whether to add the word as a stop word (ignored in retrieval) or block it (included in retrieval). |

### Manage Intervention Dictionaries for Synonyms

**Navigation**: Console > Search Algorithm Center > Retrieval Configuration > Dictionary Management

**Prerequisites**:
- Access to the OpenSearch console
- A configured application with query analysis rules

1. Navigate to the **Dictionary Management** page  
   - Element: **Search Algorithm Center &gt; Retrieval Configuration** (menu) — left-side navigation pane

2. Click **Create** in the upper-right corner  
   - Element: **Create** (button) — upper-right corner of the Dictionary Management page

3. Specify a name and set **Dictionary Type** to **Synonym**  
   - Element: **Dictionary Type** (dropdown) — Create Query Analysis Dictionary panel

4. Find the dictionary and click **Manage Entries** in the Actions column  
   - Element: **Manage Entries** (link) — Actions column on the Dictionary Management page

5. Click **Add Intervention Entry**  
   - Element: **Add Intervention Entry** (button) — page that appears after clicking Manage Entries

6. Enter the search query and synonym(s), then click **Save**  
   - Element: **Save** (button) — Add Intervention Entry panel  
   - Notes: Multiple synonyms can be separated by semicolons (;)

7. Go to **Query Analysis Rule Management** and associate the dictionary with a rule  
   - Element: **Create** (button) — upper-right corner of the Query Analysis Rule Management page  
   - Notes: The dictionary must be associated before publishing the rule

8. Perform a search test to verify behavior  
   - Notes: OpenSearch should return documents matching both the original query and the synonym

| Parameter | Type | Required | Options/Values | Description |
|-----------|------|----------|----------------|-------------|
| Name | text_input | Yes | — | The name of the intervention dictionary |
| Dictionary Type | dropdown | Yes | Synonym | The type of dictionary to create; only 'Synonym' is supported for this feature |
| Search Query | text_input | Yes | — | The term or phrase to be replaced by synonyms |
| Add Synonym | text_input | Yes | — | The synonym(s) to be used in place of the search query; multiple synonyms can be separated by semicolons |

### Manage Intervention Dictionaries for Term Weight Analysis

**Navigation**: Console > Search Algorithm Center > Retrieval Configuration > Dictionary Management

**Prerequisites**:
- An OpenSearch application must be created
- Access to the OpenSearch console with appropriate permissions
- Application version ID available

1. Navigate to the **Retrieval Configuration** page  
   - Element: **Search Algorithm Center** (menu) — left-side navigation pane

2. Click **Dictionary Management** in the left-side pane  
   - Element: **Dictionary Management** (link) — left-side pane

3. Click **Create** in the upper-right corner  
   - Element: **Create** (button) — upper-right corner

4. Specify a name and select **Term Weight** as the dictionary type  
   - Element: **Dictionary Type** (dropdown) — Create Query Analysis Dictionary panel

5. Find the dictionary and click **Manage Entries** in the Actions column  
   - Element: **Manage Entries** (link) — Actions column

6. Click **Add Intervention Entry**  
   - Element: **Add Intervention Entry** (button) — top of the entries page

7. Enter a search query, select an analyzer, and assign weights to each term  
   - Element: **Add Intervention Entry panel** (text_input) — center of the page  
   - Notes: Supported analyzers: general, e-commerce, IT content, or custom based on these

8. Go to the **Query Analysis** page and click **Create** to associate the dictionary with a rule  
   - Element: **Create** (button) — upper-right corner

9. Set whether to **Ignore spaces** in search queries during intervention  
   - Element: **Ignore spaces** (checkbox) — in the Add Rule panel  
   - Notes: Default is not to ignore spaces

| Parameter | Type | Required | Options/Values | Description |
|-----------|------|----------|----------------|-------------|
| Name | text_input | Yes | — | The name of the intervention dictionary. |
| Dictionary Type | dropdown | Yes | term_weighting | Selects the type of dictionary. For this document, only 'term_weighting' is supported. |
| Search Query | text_input | Yes | — | The actual search query to be intervened upon. |
| Analyzer | dropdown | Yes | general, e-commerce, IT content, custom | Specifies how the search query is segmented into terms. |
| Weight | dropdown | Yes | high (7), medium (4), low (1) | Assigns a weight to each term in the segmented query. |
| Ignore spaces | checkbox | No | — | Determines whether spaces in the search query are ignored during matching. |

### Configure Query Analysis Rule for NER

**Navigation**: Console > Search Algorithm Center > Retrieval Configuration > Query Analysis Rule Management

**Prerequisites**:
- Access to the OpenSearch console
- An existing application with online/offline version
- Permissions to create and manage query analysis rules

1. Navigate to the **Retrieval Configuration** page  
   - Element: **Search Algorithm Center &gt; Retrieval Configuration** (menu) — left-side navigation pane

2. Click **Query Analysis Rule Management** in the left-side pane  
   - Element: **Query Analysis Rule Management** (link) — left-side pane

3. Select an application name and version, then click **Create**  
   - Element: **Create** (button) — top-right corner of the page

4. In the **Add Rule** panel, enter a rule name, select indexes, set **Industry Type** to **E-commerce**, select **Entity Recognition**, and click **OK**  
   - Element: **OK** (button) — bottom of the Add Rule panel  
   - Notes: In Configure Entity Type Importance, you can add or remove entity categories. By default, a built-in dictionary is used. If results are incorrect, specify an intervention dictionary.

5. Run a search test to verify the query analysis process  
   - Element: (form_field) — main content area  
   - Notes: View the process of query analysis after running the test.

6. Go to **Index Orientation** and set the created rule as the default query analysis rule  
   - Element: **Index Orientation** (tab) — top navigation bar

7. Check that the default query analysis rule is correctly applied  
   - Element: (form_field) — main content area

| Parameter | Type | Required | Options/Values | Description |
|-----------|------|----------|----------------|-------------|
| Rule Name | text_input | Yes | — | Enter a unique name for the query analysis rule. |
| Indexes | dropdown | Yes | — | Select one or more indexes to apply this rule to. |
| Industry Type | dropdown | Yes | E-commerce | Set the industry type to E-commerce to enable NER for e-commerce text. |
| Feature | checkbox | Yes | Entity Recognition | Enable the Named Entity Recognition feature for this rule. |

### Configure Query Analysis Rule for Spelling Correction

**Navigation**: Console > Search Algorithm Center > Retrieval Configuration > Query Analysis Rule Management

**Prerequisites**:
- Access to the OpenSearch console
- An existing application with online/offline version

1. Navigate to **Search Algorithm Center > Retrieval Configuration**  
   - Element: **Search Algorithm Center &gt; Retrieval Configuration** (link) — left-side navigation pane

2. Click **Query Analysis Rule Management** in the left-side pane  
   - Element: **Query Analysis Rule Management** (link) — left-side pane

3. Select an application name and version, then click **Create**  
   - Element: **Create** (button) — top-right corner

4. In the **Add Rule** panel, enter a rule name, select indexes, choose **Spelling Correction**, and click **OK**  
   - Element: **Spelling Correction** (checkbox) — rule configuration section  
   - Notes: If no intervention dictionary is specified, built-in dictionary is used. For invalid or unidentifiable errors, define an intervention dictionary.

5. After rule creation, run a search test  
   - Element: **Run a search test** (button) — main content area  
   - Notes: View the process of query analysis via screenshots provided in the document.

6. Switch to **Index Orientation** and set the rule as default  
   - Element: **Index Orientation** (tab) — top navigation

7. Check the default query analysis rule to confirm it is active  
   - Element: **Check the default query analysis rule** (button) — main content area

| Parameter | Type | Required | Options/Values | Description |
|-----------|------|----------|----------------|-------------|
| Rule Name | text | Yes | — | Name for the new query analysis rule |
| Indexes | dropdown | Yes | — | Select one or more indexes to apply the rule to |
| Spelling Correction | checkbox | No | — | Enable spelling correction in the query analysis rule |

### Configure Query Analysis Rule for Stop Word Filtering

**Navigation**: Console > Search Algorithm Center > Retrieval Configuration > Query Analysis Rule Management

**Prerequisites**:
- Access to the OpenSearch console
- An existing application with online or offline version

1. Navigate to **Search Algorithm Center > Retrieval Configuration**  
   - Element: **Search Algorithm Center &gt; Retrieval Configuration** (link) — left-side navigation pane

2. Click **Query Analysis Rule Management** in the left-side pane  
   - Element: **Query Analysis Rule Management** (link) — left-side pane

3. Select an application name and version, then click **Create**  
   - Element: **Create** (button) — top-right corner of the page

4. In the **Add Rule** panel, set **Rule Name**, **Index Range**, **Industry Type**, select **Stop Word**, and click **OK**  
   - Element: **OK** (button) — bottom of the Add Rule panel  
   - Notes: The Rule Name, Index Range, and Industry Type are required fields. Selecting 'Stop Word' enables stop word filtering.

5. After rule creation, run a search test to verify query analysis  
   - Notes: Screenshots show the query analysis process. Confirm correctness before proceeding.

6. Switch to **Index Orientation** and set the rule as default  
   - Element: **Index Orientation** (tab) — top navigation bar  
   - Notes: This step makes the rule active for indexing operations.

7. Check that the default query analysis rule is correctly applied  
   - Notes: Screenshot confirms the rule is set as default.

| Parameter | Type | Required | Options/Values | Description |
|-----------|------|----------|----------------|-------------|
| Rule Name | text | Yes | — | A unique name for the query analysis rule. |
| Index Range | text | Yes | — | Specifies the index(es) to which this rule applies. |
| Industry Type | dropdown | Yes | — | Selects the industry context for rule customization. |
| Rule Type | dropdown | Yes | Stop Word | Selects the type of query analysis rule. Choose 'Stop Word' to enable stop word filtering. |

### Configure Query Analysis Rule for Synonyms

**Navigation**: Console > Search Algorithm Center > Retrieval Configuration > Query Analysis Rule Management

**Prerequisites**:
- Access to the OpenSearch console
- An existing application with online or offline version selected
- Permissions to create and manage query analysis rules

1. Navigate to **Search Algorithm Center > Retrieval Configuration**  
   - Element: **Search Algorithm Center &gt; Retrieval Configuration** (link) — left-side navigation pane

2. Click **Query Analysis Rule Management** in the left-side pane  
   - Element: **Query Analysis Rule Management** (link) — left-side pane

3. Select an application name and version, then click **Create**  
   - Element: **Create** (button) — top-right corner of the page

4. In the **Add Rule** panel, enter a rule name, select indexes, choose **Synonym** as the rule type, and click **OK**  
   - Element: **OK** (button) — bottom of the Add Rule panel  
   - Notes: If no intervention dictionary is specified, the built-in dictionary will be used.

5. After rule creation, run a search test  
   - Element: **Run a search test** (button) — on the Query Analysis Rule Management page  
   - Notes: View the process of query analysis using the provided screenshot.

6. Switch to **Index Orientation** and set the rule as default  
   - Element: **Index Orientation** (tab) — top of the Query Analysis Rule Management page

7. Check that the default query analysis rule is correctly applied  
   - Element: **Check the default query analysis rule** (button) — on the Query Analysis Rule Management page  
   - Notes: Confirm the setting via the displayed UI.

| Parameter | Type | Required | Options/Values | Description |
|-----------|------|----------|----------------|-------------|
| Rule Name | text_input | Yes | — | A unique name for the query analysis rule. |
| Indexes | dropdown | Yes | — | The index(es) to which this rule applies. |
| Rule Type | dropdown | Yes | Synonym | Select 'Synonym' to enable synonym-based query analysis. |

### Configure Query Analysis Rule for Term Weight Analysis

**Navigation**: Console > Search Algorithm Center > Retrieval Configuration > Query Analysis Rule Management

**Prerequisites**:
- Access to OpenSearch console
- An application with online or offline version configured

1. Navigate to **Search Algorithm Center > Retrieval Configuration**  
   - Element: **Search Algorithm Center &gt; Retrieval Configuration** (link) — left-side navigation pane

2. Click **Query Analysis Rule Management** in the left-side pane  
   - Element: **Query Analysis Rule Management** (link) — left-side pane

3. Select an application name and version, then click **Create**  
   - Element: **Create** (button) — top-right corner of the page

4. In the **Add Rule** panel, enter a rule name, select indexes, choose **Word Weight**, and click **OK**  
   - Element: **OK** (button) — bottom of the Add Rule panel

5. After rule creation, run a search test  
   - Element: **Run a search test** (button) — main content area  
   - Notes: Screenshot shows the query analysis process

6. Switch to **Index Orientation** and set the rule as default  
   - Element: **Index Orientation** (tab) — top navigation bar

7. Check the default query analysis rule to confirm it is active  
   - Element: **Check the default query analysis rule** (button) — main content area  
   - Notes: Screenshot confirms rule status

| Parameter | Type | Required | Options/Values | Description |
|-----------|------|----------|----------------|-------------|
| Rule Name | text_input | Yes | — | Enter a unique name for the query analysis rule |
| Indexes | dropdown | Yes | — | Select one or more indexes to apply this rule to |
| Analysis Type | radio | Yes | Word Weight | Choose the type of analysis to perform |

## FAQ

Q: Where can I find the Analyzer Management page?
A: Navigate to Console > Search Algorithm Center > Retrieval Configuration > Analyzer Management in the OpenSearch console.

Q: Can I modify an intervention dictionary after it has been created?
A: Yes, you can add, update, or delete entries in an intervention dictionary via the "Manage Entries" link, but you cannot change the dictionary type after creation.

Q: Do I need to publish a query analysis rule for changes to take effect?
A: Yes, after creating or modifying a rule, you must set it as the default query analysis rule in the Index Orientation tab for it to affect search results.

Q: What happens if I leave the intervention dictionary field empty when creating a query analysis rule?
A: The system will use the built-in dictionary for that feature (e.g., built-in spelling correction or stop words) instead of a custom one.

Q: Are there limits on the number of intervention dictionaries I can create?
A: Yes: up to 10 for category prediction, up to 20 for spelling correction, stop words, and synonyms; each dictionary supports up to 500–1,000 entries depending on type.

## Pricing & Billing

### Billing Model
Most intervention dictionary operations and analyzer management are included in the standard OpenSearch service at no additional cost. However, query analysis rule execution (including NER, spelling correction, synonyms, stop word filtering, and term weight analysis) is billed per request.

### Price Reference
- Query analysis requests: ¥0.0001 per request (applies to spelling correction, synonym configuration, term weight analysis)
- Multimodal data preprocessing (if applicable):
  - Document analysis: ¥0.002 per 1K tokens
  - Image analysis (VLM): ¥0.003 per 1K tokens
  - OCR: ¥0.001 per 1K tokens
  - Document splitting: ¥0.001 per 1K tokens
  - Text embedding (various models): ¥0.0005–¥0.002 per 1K tokens

### Free Tier
- Query analysis: 1,000 free requests/month for spelling correction and term weight analysis; 10,000 free requests/month for synonym configuration
- Intervention dictionaries: No separate free tier; usage is governed by account-level quotas

### Billing Notes
- Charges apply only when query analysis rules are executed during actual search requests
- Intervention dictionaries themselves do not incur charges; costs arise from their use in query processing
- Multimodal pipeline services are billed separately based on token usage and service type
- Free tier quotas reset monthly and apply across all query analysis features combined