You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: src/catalog/search-elasticsearch.md
+25-25Lines changed: 25 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -7,77 +7,77 @@ Elasticsearch is a powerful and highly scalable distributed search engine that i
7
7
8
8
## Step 1: Configure Search Options
9
9
10
-
1. On the Admin sidebar, tap **Stores**. Then under **Settings**, choose**Configuration**.
10
+
1. On the Admin sidebar, go to **Stores** > _Settings_ >**Configuration**.
11
11
12
12
1. In the panel on the left under **Catalog**, choose **Catalog**.
13
13
14
14
1. Expand  the **Catalog Search** section.
15
15
16
-
1. For the **Search Engine** field, clear the **Use system value** checkbox and choose the version that is installed on your server.
16
+
1. For **Search Engine**, clear the **Use system value** checkbox and choose the version that is installed on your server.
17
17
18
-
* Elasticsearch (Deprecated) — Elasticsearch 2.0+ has reached end of life, and is now deprecated. To learn more, see <ahref="https://www.elastic.co/support/eol"target="_blank">Elastic Product End of Life Dates.
18
+
- Elasticsearch (Deprecated) - Elasticsearch 2.x has reached end of life, and is now deprecated. To learn more, see [Elastic Product End of Life Dates](https://www.elastic.co/support/eol){:target="_blank"}.
19
19
20
-
* Elasticsearch 5.0+ (Default) — Elasticsearch 5.0+ is scheduled for end of life. To learn more, see <ahref="https://www.elastic.co/support/eol"target="_blank">Elastic Product End of Life Dates.
20
+
- Elasticsearch 5.x (Default) - Elasticsearch 5.x is scheduled for end of life. To learn more, see [Elastic Product End of Life Dates](https://www.elastic.co/support/eol){:target="_blank"}.
21
21
22
-
* Elasticsearch 6.0+ (Recommended) —For the best performance, we recommend that you use the latest version of Elasticsearch 6.0+.
22
+
- Elasticsearch 6.x (Recommended) - For the best performance, we recommend that you use the latest version of Elasticsearch 6.x.
23
23
24
24
{:.bs-callout-info}
25
25
To learn more about using Elasticsearch versions 2.x and 5.x, see [Change the Elasticsearch Client][2]{:target="_blank"}.
26
26
27
27
{: .zoom}
28
-
*[Elasticsearch Settings]({% link configuration/catalog/catalog.md %})*
28
+
_[Elasticsearch Settings]({% link configuration/catalog/catalog.md %})_
29
29
30
-
1. For **Enable EAV Indexer**, set if you want to enable or disable the Product EAV indexer. This feature improves indexation speed and restricts the indexer from use by 3rdparty extensions. This option only displays for Elasticsearch or Elasticsearch 5.0+ Search Engines.
30
+
1. For **Enable EAV Indexer**, set if you want to enable or disable the Product EAV indexer. This feature improves indexation speed and restricts the indexer from use by 3rd-party extensions. This option only displays for Elasticsearch or Elasticsearch 5.x Search Engines.
31
31
32
-
1. To limit the length and word count of search query text, set the**Minimal Query Length** and **Maximum Query Length**.
32
+
1. To limit the length and word count of search query text, seta value for**Minimal Query Length** and **Maximum Query Length**.
33
33
34
34
{:.bs-callout-info}
35
-
**Important:** The value set for this minimum and maximum range must be compatible with the corresponding range set in your Elasticsearch search engine configurations. For example, if you set these values to 2 and 300 in Magento, update the values in your search engine.
35
+
**Important:** The value set for this minimum and maximum range must be compatible with the corresponding range set in your Elasticsearch search engine configurations. For example, if you set these values to `2` and `300` in Magento, update the values in your search engine.
36
36
37
37
1. To limit the amount of popular search results to cache for faster responses, set an amount for **Number of top search results to cache**.
38
38
39
-
The default is 100. Entering a value of 0 caches all search terms and results when entered a second time.
39
+
The default is `100`. Entering a value of `0` caches all search terms and results when entered a second time.
40
40
41
-
1. To limit the maximum number of search results to display for search autocomplete, set an amount for **Autocomplete Limit**. Restricting this amount increases performance of searches and reduces the displayed list size. The default amount is 8.
41
+
1. To limit the maximum number of search results to display for search autocomplete, set an amount for **Autocomplete Limit**. Restricting this amount increases performance of searches and reduces the displayed list size. The default amount is `8`.
42
42
43
43
## Step 2: Configure the Elasticsearch Connection
44
44
45
45
{: .zoom}
46
-
*Elasticsearch Connection Settings*
46
+
_Elasticsearch Connection Settings_
47
47
48
-
1. Enter the **Elasticsearch Server Hostname**. The default is:`localhost`.
48
+
1. Enter the **Elasticsearch Server Hostname**. The default is `localhost`.
49
49
50
50
1. Enter the **Elasticsearch Server Port**.
51
51
52
-
1.In the **Elasticsearch Index Prefix** field, enter a prefix.to identify the Elasticsearch index. For example: Magento2.
52
+
1.For **Elasticsearch Index Prefix**, enter a prefixto identify the Elasticsearch index. Example: `Magento2`.
53
53
54
-
1. Set **Enable Elasticsearch HTTP Auth** to “Yes” to use HTTP authentication to prompt for a username and password to access Elasticsearch Server.
54
+
1. Set **Enable Elasticsearch HTTP Auth** to `Yes` to use HTTP authentication to prompt for a username and password to access Elasticsearch Server.
55
55
56
-
1.In the **Elasticsearch Server Timeout** field, enter the number of seconds before the system times out. The default is: 15.
56
+
1.For **Elasticsearch Server Timeout**, enter the number of seconds before the system times out. The default is`15`.
57
57
58
-
1. To verify the configuration, tap <spanclass="btn">Test Connection</span>.
58
+
1. To verify the configuration, click <spanclass="btn">Test Connection</span>.
59
59
60
60
## Step 3: Configure Suggestions and Recommendations
61
61
62
62
{:.bs-callout-info}
63
63
Search suggestions and recommendations can impact server performance.
64
64
65
-
1. Set **Enable Search Suggestions** to “Yes”. Then, do the following:
65
+
1. Set **Enable Search Suggestions** to `Yes` and do the following:
66
66
67
67
{: .zoom}
68
-
*Elasticsearch Suggestion and Recommendation Settings*
68
+
_Elasticsearch Suggestion and Recommendation Settings_
69
69
70
-
* In the **Search Suggestions Count** field, enter the number of search suggestions to offer.
70
+
- For **Search Suggestions Count**, enter the number of search suggestions to offer.
71
71
72
-
* To show the number of results found for each suggestion, set **Show Results for Each Suggestion** to “Yes”.
72
+
- To show the number of results found for each suggestion, set **Show Results for Each Suggestion** to `Yes`.
73
73
74
-
1. To offer recommendations, set **Enable Search Recommendations** to “Yes”. Then, do the following:
74
+
1. To offer recommendations, set **Enable Search Recommendations** to `Yes` and do the following:
75
75
76
-
* In the **Search Recommendation Count** field, enter the number of recommendations to offer.
76
+
- For **Search Recommendation Count**, enter the number of recommendations to offer.
77
77
78
-
* To show the number of results found for each recommendation, set **Show Results Count for Each Recommendation** to “Yes”.
78
+
- To show the number of results found for each recommendation, set **Show Results Count for Each Recommendation** to `Yes`.
79
79
80
-
1. When complete, tap <spanclass="btn">Save Config</span>.
80
+
1. When complete, click <spanclass="btn">Save Config</span>.
0 commit comments