Skip to content

Commit cf271b4

Browse files
authored
Revert "Fixes #691 - Added command for adding specific ES index"
This reverts commit e5f87cb.
1 parent e5f87cb commit cf271b4

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
@@ -226,12 +226,11 @@ Build/rebuild the searchindex
226226
.. hint::
227227
- The rebuild may take many hours or even days, if a lot of data is
228228
already present in a productive environment. However, you can safely
229-
run this during operating times without the risk of losing data. As a
229+
run this during operating times without the risk of loosing data. As a
230230
downside, it could lead to reduced performance and that some data may
231231
not be shown in search results.
232232
- Consider specifying a number of CPU cores to be used for the rebuild
233233
(see example below).
234-
- If you just want to add a missing index, use the third command below.
235234

236235
.. code-block:: sh
237236
@@ -241,14 +240,6 @@ Build/rebuild the searchindex
241240
# rebuilding the searchindex, as in the following example with 8 cores:
242241
$ sudo zammad run rake zammad:searchindex:rebuild[8]
243242
244-
Add a specific index with the command below. Replace ``Ticket`` with the one
245-
you want to add. If your database already holds data which has to be indexed,
246-
additionally use the second command:
247-
248-
.. code-block:: sh
249-
250-
$ zammad run rails r "SearchIndexBackend.create_object_index('Ticket')"
251-
$ zammad run rails r "Ticket.search_index_reload"
252243
253244
Optional settings
254245
-----------------

0 commit comments

Comments
 (0)