Skip to content

Commit 9f8987e

Browse files
authored
update docs (#281)
1 parent a41609b commit 9f8987e

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

doc/02_Configuration/03_Index_Management.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,21 +71,26 @@ pimcore_generic_data_index:
7171

7272
### Repairing Indices
7373

74-
Sometimes it might be needed to delete and recreate the index (for example if the mapping changed and
75-
cannot be updated).
74+
Sometimes it might be needed to delete and recreate the index from the Pimcore database
75+
(for example if the mapping changed and cannot be updated).
7676

77-
Do this with the index update command and pass -r option.
77+
Do this with the index update command and pass `-r` option (which deletes and recreates the index).
7878
```
7979
# delete index and recreate it
8080
bin/console generic-data-index:update:index -r
8181
```
82+
Without the `-r` option, the index mapping is just updated and all items are added into the queue
83+
for a reindex from the Pimcore database.
84+
8285
8386
### Updating Index Structure for Data Indices
8487
8588
Index mapping is updated automatically e.g. when adding system languages or new fields to the class definition.
8689
Sometimes it might be necessary to update the index structure manually.
8790
88-
Do this with the reindex command.
91+
Do this with the reindex command. This command does native opensearch/elasticsearch re-indexing. So it does not
92+
index data from the database but reindexes data within the search indices.
93+
8994
```
9095
# updates index mapping with native reindexing
9196
bin/console generic-data-index:reindex
@@ -130,4 +135,4 @@ After every class definition update you should run the following command to upda
130135
php bin/console generic-data-index:deployment:reindex
131136
```
132137

133-
This command will update the index structure for all data object classes which were created/updated since the last deployment and reindex all data objects for relevant classes.
138+
This command will update the index structure for all data object classes which were created/updated since the last deployment and reindex all data objects for relevant classes.

0 commit comments

Comments
 (0)