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
* Removed warning about Safari (#2982)
* 4.6.27: Update doc for dropped unused guzzle dependencies (#2995)
* Added update section for 4.6.27
* Update docs/update_and_migration/from_4.6/update_from_4.6.md
* Described virtual products and added an example creating product type with PHP API (#3024)
* Described virtual products and added an example creating product type with PHP API
* Apply suggestions from code review
Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com>
* Fixed invalid include
* Apply suggestions from code review
Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com>
Co-authored-by: Tomasz Dąbrowski <64841871+dabrt@users.noreply.github.com>
* Added link to user doc
---------
Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com>
Co-authored-by: Tomasz Dąbrowski <64841871+dabrt@users.noreply.github.com>
* [4.6] Doc for Elasticsearch 8 (#3022)
* Added doc for ES8
* Added update guide mention
* Fixed header
* Formatting fixes
* Apply suggestions from code review
Co-authored-by: Konrad Oboza <konrad.oboza@ibexa.co>
* Apply suggestions from code review
Co-authored-by: Tomasz Dąbrowski <64841871+dabrt@users.noreply.github.com>
* Manual changes
---------
Co-authored-by: Konrad Oboza <konrad.oboza@ibexa.co>
Co-authored-by: Tomasz Dąbrowski <64841871+dabrt@users.noreply.github.com>
---------
Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com>
Co-authored-by: Tomasz Dąbrowski <64841871+dabrt@users.noreply.github.com>
Co-authored-by: Konrad Oboza <konrad.oboza@ibexa.co>
Copy file name to clipboardExpand all lines: docs/pim/pim_guide.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,17 @@ Before you can assign categories to products, you need to [enable product catego
79
79
80
80

81
81
82
+
### Virtual and physical products
83
+
84
+
Product types in [[= product_name =]] can be either virtual or physical:
85
+
86
+
-**Physical products** are tangible items that require shipping (for example: books, clothing, electronics).
87
+
-**Virtual products** are items that don't require physical delivery (for example: software licenses, e-books, online courses, digital downloads, additional warranty, tickets for an event).
88
+
89
+
This product type property can affect the checkout process.
90
+
A cart of only virtual products skips the [shipping step](shipping_management.md) during checkout.
91
+
To learn more about working with virtual products, see [Virtual products]([[= user_doc =]]/pim/create_virtual_product/) in the User Documentation.
92
+
82
93
### Currencies
83
94
84
95
Currencies are used when calculating product price. In the system you can find a list of available currencies, but you can also create custom ones by providing its code.
Refer to the [examples in Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/8.19/security-api-create-api-key.html#security-api-create-api-key-example) to see the difference between API key, API key id, and encoded API key.
259
+
To see the difference between API key, API key id, and encoded API key, refer to the [examples in Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/8.19/security-api-create-api-key.html#security-api-create-api-key-example).
260
260
261
261
### SSL
262
262
@@ -313,7 +313,8 @@ For more information, see [Elasticsearch: SSL Encryption](https://www.elastic.co
313
313
In a staging environment, you can log messages about the status of communication with Elasticsearch.
314
314
You can then use Symfony Profiler to review the logs.
315
315
316
-
By default, debugging is disabled. To enable debugging, you can use the following setting:
316
+
By default, debugging is disabled.
317
+
To enable debugging, you can use the following setting:
317
318
318
319
``` yaml
319
320
<connection_name>:
@@ -412,8 +413,8 @@ For more information and a list of available settings, see [Elasticsearch docume
412
413
For more information about mappings, see [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/8.19/mapping.html).
413
414
414
415
When you create a custom index template, with settings for your own field and document types, make sure that it contains mappings for all searchable fields that are available in [[= product_name =]].
415
-
For an example of default configuration with a list of searchable fields.
416
-
To see the default configuration, go to `vendor/ibexa/elasticsearch/src/bundle/Resources/config/` and open the `default-config.yaml` file.
416
+
417
+
To see the default configuration, go to `vendor/ibexa/elasticsearch/src/bundle/Resources/config/` and open the `default-config.yaml` file.
417
418
418
419
### Fine-tune the search results
419
420
@@ -506,7 +507,7 @@ For more information about specifying the pattern for your language, see [Define
506
507
507
508
For information about configuring an analyzer for each specific language, see [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/8.19/analysis-lang-analyzer.html).
508
509
509
-
An adoption of the [English analyzer](https://www.elastic.co/guide/en/elasticsearch/reference/8.19/analysis-lang-analyzer.html#english-analyzer) in [[= product_name =]] configuration looks like this:
510
+
An adoption of the [`english` analyzer](https://www.elastic.co/guide/en/elasticsearch/reference/8.19/analysis-lang-analyzer.html#english-analyzer) in [[= product_name =]] configuration looks like this:
To make sure that the Elasticsearch instance operates properly, access the instance (for example, with `curl http://localhost:9200/`).
23
+
To make sure that the Elasticsearch instance operates properly, access the instance, for example, with `curl http://localhost:9200/`.
24
24
25
25
If Elasticsearch operates properly, an object with cluster details is displayed.
26
26
It should be similar to the following example:
@@ -92,4 +92,4 @@ php bin/console ibexa:reindex
92
92
!!! caution "Risks of premature indexing"
93
93
94
94
Don't reindex your data before you create index templates.
95
-
Otherwise Elasticsearch attempts to use its [dynamic field mapping](https://www.elastic.co/guide/en/elasticsearch/reference/8.19/dynamic-field-mapping.html) feature to create type mappings automatically.
95
+
Otherwise, Elasticsearch attempts to use its [dynamic field mapping](https://www.elastic.co/guide/en/elasticsearch/reference/8.19/dynamic-field-mapping.html) feature to create type mappings automatically.
Upgrade your Elasticsearch server to version 8.19 or higher.
475
+
For detailed instructions, follow the [Elasticsearch upgrade guide](https://www.elastic.co/guide/en/elastic-stack/8.19/upgrading-elastic-stack.html#prepare-to-upgrade).
476
+
477
+
When you use [[= product_name_cloud =]], see [Elasticsearch service](https://docs.upsun.com/add-services/elasticsearch.html) for a list of supported versions.
478
+
479
+
#### Update configuration
480
+
481
+
Update your configuration in `config/packages/ibexa_elasticsearch.yaml` as decribed below:
482
+
483
+
##### Replace connection pool settings
484
+
485
+
The `connection_pool` and `connection_selector` settings are ignored when using Elasticsearch 8.
486
+
Replace them with appropriate `node_pool_selector` and `node_pool_resurrect` settings:
If you were using the separate `ibexa/elasticsearch8` package in v4.6, you should switch back to the built-in `ibexa/elasticsearch` package, as it now supports both Elasticsearch 7 and Elasticsearch 8.
212
+
213
+
```bash
214
+
composer remove --no-update ibexa/elasticsearch8
215
+
```
216
+
217
+
The `ibexa/elasticsearch` package is automatically installed as part of your [[= product_name =]] 5.0 update.
218
+
Your existing Elasticsearch 8 server and configuration continue to work with the `ibexa/elasticsearch` package.
219
+
209
220
#### Remove PHP 8.2 error handler
210
221
211
222
If you were using the [`Php82HideDeprecationsErrorHandler`](update_from_4.6.md#v468) to avoid deprecation messages,
Copy file name to clipboardExpand all lines: docs/update_and_migration/from_5.0/update_from_5.0.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -194,9 +194,9 @@ If you choose to upgrade to Elasticsearch 8, follow these steps:
194
194
#### Update Elasticsearch server
195
195
196
196
Upgrade your Elasticsearch server to version 8.19 or higher.
197
-
Follow the [Elasticsearch upgrade guide](https://www.elastic.co/guide/en/elastic-stack/8.19/upgrading-elastic-stack.html#prepare-to-upgrade) for detailed instructions.
197
+
For detailed instructions, follow the [Elasticsearch upgrade guide](https://www.elastic.co/guide/en/elastic-stack/8.19/upgrading-elastic-stack.html#prepare-to-upgrade).
198
198
199
-
When using[[= product_name_cloud =]], see [Elasticsearch service](https://docs.upsun.com/add-services/elasticsearch.html) for a list of supported versions.
199
+
When you use[[= product_name_cloud =]], see [Elasticsearch service](https://docs.upsun.com/add-services/elasticsearch.html) for a list of supported versions.
0 commit comments