Do not use ES per default (need to be configured first).

This commit is contained in:
Martin Edenhofer 2014-02-11 14:20:15 +01:00
parent 1a64256546
commit 0f2e6306cc

View file

@ -33,10 +33,10 @@ class AddSearchIndex < ActiveRecord::Migration
:frontend => false :frontend => false
) )
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