knockrentals/scrapy-elasticsearch — pull request #10 by ignaciovazquez (2014-12-03 17:27:42+00:00)
Title: Fix settings

Hi there!

It looks like by using get_project_settings you can only retrieve the settings in the config file.
In order to override settings like ELASTICSEARCH_INDEX from other parts of the spider (like the command line), the from_crawler method must be implemented and used to load settings.