File tree Expand file tree Collapse file tree 2 files changed +24
-4
lines changed Expand file tree Collapse file tree 2 files changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ Build/rebuild the searchindex
289
289
not be shown in search results.
290
290
- Consider specifying a number of CPU cores to be used for the rebuild
291
291
(see example below).
292
- - If you just want to add a missing index, use the third command below.
292
+ - If you just want to add a missing index, you find the commands below too .
293
293
294
294
Without specifying CPU cores:
295
295
@@ -303,13 +303,18 @@ Build/rebuild the searchindex
303
303
304
304
$ sudo zammad run rake zammad:searchindex:rebuild[8]
305
305
306
- Add a specific index with the command below. Replace ``Ticket `` with the one
307
- you want to add. If your database already holds data which has to be indexed,
308
- additionally use the second command:
306
+ Add a specific index with the following command. Replace ``Ticket `` with the
307
+ one you want to add:
309
308
310
309
.. code-block :: sh
311
310
312
311
$ zammad run rails r " SearchIndexBackend.create_object_index('Ticket')"
312
+
313
+ To index already existing data for this specific index, execute a reload of
314
+ this index, replace ``Ticket `` here as well:
315
+
316
+ .. code-block :: sh
317
+
313
318
$ zammad run rails r " Ticket.search_index_reload"
314
319
315
320
Optional settings
Original file line number Diff line number Diff line change @@ -112,6 +112,21 @@ using `Zammad hosting`_ for your and your customers' safety.
112
112
# rebuilding the searchindex, as in the following example with 8 cores:
113
113
$ zammad run rake zammad:searchindex:rebuild[8]
114
114
115
+ Add only a specific index with the following command. This is not
116
+ needed if you already run a complete rebuild of the index. Replace
117
+ ``Ticket `` with the one you want to add:
118
+
119
+ .. code-block :: sh
120
+
121
+ $ zammad run rails r " SearchIndexBackend.create_object_index('Ticket')"
122
+
123
+ To index already existing data for this specific index, execute a
124
+ reload of this index, replace ``Ticket `` here as well:
125
+
126
+ .. code-block :: sh
127
+
128
+ $ zammad run rails r " Ticket.search_index_reload"
129
+
115
130
Step 7: Log into Zammad
116
131
Yes, that's it!
117
132
You can’t perform that action at this time.
0 commit comments