karmi/tire — pull request #366 by ahfeel (2012-06-04 12:22:48+00:00)
Title: Add support for update script API on Tire::Index.

Usage:
tags = ['a', 'b', 'c']
Tire.index 'my_index' do
update 'document_type', 'document_id', {
:script => "_ctx._source.tags = tags;',
:params => {:tags => tags}
}
end