Fixes #3466: elasticsearch index rebuild will log warnings to log/production.log
This commit is contained in:
parent
0b09063197
commit
92eea19f8a
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ module Ticket::SearchIndex
|
||||||
|
|
||||||
# collect article data
|
# collect article data
|
||||||
attributes['article'] = []
|
attributes['article'] = []
|
||||||
Ticket::Article.where(ticket_id: id).order(:id).limit(1000).find_each(batch_size: 50).each do |article|
|
Ticket::Article.where(ticket_id: id).limit(1000).find_each(batch_size: 50).each do |article|
|
||||||
|
|
||||||
# lookup attributes of ref. objects (normally name and note)
|
# lookup attributes of ref. objects (normally name and note)
|
||||||
article_attributes = article.search_index_attribute_lookup(include_references: false)
|
article_attributes = article.search_index_attribute_lookup(include_references: false)
|
||||||
|
|
Loading…
Reference in a new issue