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
Copy file name to clipboardExpand all lines: docs/master/architecture/performance.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
[[TOC]]
4
4
5
-
In the realm of online stores, [web vitals](https://web.dev/vitals/) have become increasingly crucial. **Bagisto**prioritises good [LCP](https://web.dev/lcp/) and [CLS](https://web.dev/cls/) to ensure an optimal user experience.
5
+
In the realm of online stores, [web vitals](https://web.dev/vitals/) have become increasingly crucial. **Bagisto**priorities good [LCP](https://web.dev/lcp/) and [CLS](https://web.dev/cls/) to ensure an optimal user experience.
6
6
7
7
Additionally, **Bagisto** has seamlessly integrated [ElasticSearch](https://bagisto.com/en/elasticsearch-for-bagisto/) to further enhance user experience.
8
8
@@ -34,13 +34,13 @@ Similar to price indexing, the inventory indexing process in Bagisto involves up
34
34
Flat indexing in Bagisto is a vital mechanism designed to enhance the performance and efficiency of product data retrieval.
35
35
The indexer processes products in batches, which is efficient for handling large datasets without overwhelming the system.
36
36
It manages a set of fillable attribute codes that are essential during the creation of the flat index. The flat indexer takes into account various channels and locales, ensuring that product data is accurately indexed for different market segments. A predefined list of attribute codes, such as `sku`, `name`, `price`, `weight`, and `status`, that can be populated during the indexing process.
37
-
By default, the Flat Indexer reindexes products based on product creation or update events. However, there are scenarios where you might need to reindex the flat index in response to changes in channels or locales. In such cases, you can manually trigger the reindexing process to ensure that the flat tables reflect the latest channel and locale updates.
37
+
By default, the Flat Indexer reindexes products based on product creation or update events. However, there are scenarios where you might need to reindex the flat index in response to changes in channels or locales. In such cases, you can manually trigger the re-indexing process to ensure that the flat tables reflect the latest channel and locale updates.
38
38
39
39
### Catalog Rule Indexing
40
40
41
41
Catalog rule indexing in Bagisto ensures that product prices are updated based on any changes to catalog rules, such as offers expiring or being updated. To maintain accurate pricing, Bagisto schedules the catalog rule indexer to run daily. This scheduled task ensures that any modifications to catalog rules are promptly applied to the product prices.
42
42
43
-
The catalog rule indexing process is set to execute at 00:01 every day. The product prices are consistently recalculated and updated based on the current catalog rules. This automatic reindexing guarantees that any changes in promotional offers, discounts, or other pricing rules are reflected in the product listings without any manual intervention.
43
+
The catalog rule indexing process is set to execute at 00:01 every day. The product prices are consistently recalculated and updated based on the current catalog rules. This automatic re-indexing guarantees that any changes in promotional offers, discounts, or other pricing rules are reflected in the product listings without any manual intervention.
44
44
45
45
### ElasticSearch
46
46
@@ -50,39 +50,39 @@ As Elastic is designed to handle large amounts of data and provide fast and scal
50
50
51
51
To configure Elasticsearch, please refer to the [Configuration Setup](https://devdocs.bagisto.com/2.x/advanced/indexing-products-to-elasticsearch.html) documentation.
52
52
53
-
### Reindexing
53
+
### Re-indexing
54
54
55
-
The `ReindexCommands` console command is responsible for reindexing data within Bagisto, facilitating efficient data retrieval and search functionality. This command offers flexibility in selecting specific indexers and reindexing modes to suit varying requirements.
55
+
The `Re-indexCommands` console command is responsible for re-indexing data within Bagisto, facilitating efficient data retrieval and search functionality. This command offers flexibility in selecting specific indexers and re-indexing modes to suit varying requirements.
56
56
57
-
By default, reindexing is executed at the scheduled time or based on specific events, such as product creation or updates. However, there may be situations where you need to manually trigger reindexing. This can be done using the following commands:
57
+
By default, re-indexing is executed at the scheduled time or based on specific events, such as product creation or updates. However, there may be situations where you need to manually trigger re-indexing. This can be done using the following commands:
58
58
59
59
#### Command Signature
60
60
61
-
The command `php artisan indexer:index` in Bagisto is used to manage the reindexing of various indexers. Here is a detailed description of its usage:
61
+
The command `php artisan indexer:index` in Bagisto is used to manage the re-indexing of various indexers. Here is a detailed description of its usage:
62
62
63
63
```shell
64
64
php artisan indexer:index {--type=*} {--mode=*}
65
65
```
66
66
-**--type**: Specifies the type of indexers to reindex.
67
-
-**--mode**: Specifies the reindexing mode, either `full` for full reindexing or selective for `selective`reindexing (default).
67
+
-**--mode**: Specifies the re-indexing mode, either `full` for full re-indexing or selective for `selective`re-indexing (default).
68
68
69
69
-**Full Reindexing for All Types**
70
70
71
71
```shell
72
72
php artisan indexer:index --mode=full
73
73
```
74
-
This command performs a full reindexing for all indexers by default.
74
+
This command performs a full re-indexing for all indexers by default.
75
75
76
76
77
-
-**Selective Reindexing**
77
+
-**Selective Re-indexing**
78
78
79
79
```shell
80
80
php artisan indexer:index --type=price
81
81
```
82
82
83
-
This command performs selective reindexing specifically for the price indexer.
83
+
This command performs selective re-indexing specifically for the price indexer.
84
84
85
-
Price and price rule indexing are scheduled to reindex at a specific time each day to ensure that the latest pricing information is accurately reflected in searches and displays. The following commands are scheduled to run daily at 00:01 AM:
85
+
Price and price rule indexing are scheduled to re-index at a specific time each day to ensure that the latest pricing information is accurately reflected in searches and displays. The following commands are scheduled to run daily at 00:01 AM:
0 commit comments