Improved index name.

This commit is contained in:
Martin Edenhofer 2014-01-30 00:55:50 +01:00
parent b163b2eb0f
commit 52f60e81a9

View file

@ -36,7 +36,7 @@ class AddSearchIndex < ActiveRecord::Migration
Setting.set('es_url', 'http://217.111.80.181') Setting.set('es_url', 'http://217.111.80.181')
Setting.set('es_user', 'elasticsearch') Setting.set('es_user', 'elasticsearch')
Setting.set('es_password', 'zammad') Setting.set('es_password', 'zammad')
Setting.set('es_index', Socket.gethostname + 'zammad') Setting.set('es_index', Socket.gethostname + '_zammad')
Ticket.search_index_reload Ticket.search_index_reload
User.search_index_reload User.search_index_reload