sebdah/scrapy-mongodb — pull request #18 by sherzberg (2014-08-09 17:05:28+00:00)
Title: enable multiple value index for collection

pymongo supports ensure_index(key_or_list) where list can be [('key1',
direction,), ('key2', direction),]. This patch will allow scrapy-mongodb
to properly handle upserts when MONGODB_UNIQUE_KEY is a list of tuples