Skip to content

Commit 8dfd48c

Browse files
authored
Revert "Fixes #691 - Added command for adding specific ES index"
This reverts commit 0a45373.
1 parent 0a45373 commit 8dfd48c

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

admin/console.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ It allows you to run several commands inside it.
7575

7676
.. code-block:: sh
7777
78-
$ zammad run rails c
78+
$ $ zammad run rails c
7979
8080
.. tab:: Source/Development Installation
8181

install/elasticsearch.rst

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -284,12 +284,11 @@ Build/rebuild the searchindex
284284
.. hint::
285285
- The rebuild may take many hours or even days, if a lot of data is
286286
already present in a productive environment. However, you can safely
287-
run this during operating times without the risk of losing data. As a
287+
run this during operating times without the risk of loosing data. As a
288288
downside, it could lead to reduced performance and that some data may
289289
not be shown in search results.
290290
- Consider specifying a number of CPU cores to be used for the rebuild
291291
(see example below).
292-
- If you just want to add a missing index, use the third command below.
293292

294293
Without specifying CPU cores:
295294

@@ -303,14 +302,6 @@ Build/rebuild the searchindex
303302
304303
$ sudo zammad run rake zammad:searchindex:rebuild[8]
305304
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:
309-
310-
.. code-block:: sh
311-
312-
$ zammad run rails r "SearchIndexBackend.create_object_index('Ticket')"
313-
$ zammad run rails r "Ticket.search_index_reload"
314305
315306
Optional settings
316307
-----------------

0 commit comments

Comments
 (0)