> For the complete documentation index, see [llms.txt](https://manual.dxable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.dxable.com/optimizely/configured-commerce/optimizely-configured-commerce/search/change-from-elasticsearch-v5-to-elasticsearch-v7.md).

# Elasticsearch v5 から Elasticsearch v7 への変更

Optimizely Configured Commerce のデフォルトの検索プロバイダーは Elasticsearch バージョン 5 です。 検索設定で検索プロバイダー名と検索インデクサー名を更新することで、Elasticsearch バージョン 7 にアップグレードできます。 この変更には検索インデックスの完全な再構築が必要であるため、再構築が完了するまで新しい検索プロバイダーは停止します。 このダウンタイムを回避するには、以下の手順に従ってください。

注記

バージョン 7 に変更する前に、Elasticsearch バージョン 5 に現在カスタム拡張機能があるかどうかを確認してください。 その場合は、まずコードを移行して、Elasticsearch バージョン 7 (デフォルトのビルド バージョン 2) とサードパーティの検索パイプラインを使用することをお勧めします。

1. **Administration** > **Settings** > **Search**に移動します。
2. **\[Search Indexer Name]**&#x3092;**\[Elasticsearch v7]**&#x306B;設定します。
3. 新しい Elasticsearch v7 インデックスが準備されるまで、ダウンタイムを回避するために、**\[Search Provider Name]**&#x3092;**\[Elasticsearch]**&#x306E;ままにしておきます。 Elasticsearch v7 はデフォルトの検索インデックス設定を受け取ります。 これらの設定は、Elasticsearch v5 からコピーして手動で更新できます。
4. **\[Save]**&#x3092;クリックします。
5. **Marketing** > **Indexing**に移動します。
6. **\[Rebuild All]**&#x3092;クリックします。
7. プロセスが完了するまで待機し、正常に完了したことを確認します。
8. **Administration > Settings** > **Search**に移動します。
9. **\[Search Provider Name]**&#x304C;**\[Elasticsearch v7]**&#x306B;変更されていることを確認します。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://manual.dxable.com/optimizely/configured-commerce/optimizely-configured-commerce/search/change-from-elasticsearch-v5-to-elasticsearch-v7.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
