karmi/tire — pull request #332 by ahfeel (2012-05-04 15:48:25+00:00)
Title: Add support for update script API on Tire::Index.

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