Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for multiple ES nodes #19

Closed
jenkin opened this issue Apr 13, 2016 · 2 comments
Closed

Add support for multiple ES nodes #19

jenkin opened this issue Apr 13, 2016 · 2 comments

Comments

@jenkin
Copy link

jenkin commented Apr 13, 2016

In settings you can set ELASTICSEARCH_SERVER only by using a simple string. Pyes supports multiple hosts in ES initialization and this string is passed wrapped in a single-element list (see. L50 in scrapyelasticsearch.py).

It could be useful to set ELASTICSEARCH_SERVER also by using a list of hosts, maybe checking if the setting is actually a string or a list, ie via isistance().

@jayzeng
Copy link
Owner

jayzeng commented Apr 14, 2016

@jenkin good idea, it is included in #21 (work in progress)

@jayzeng
Copy link
Owner

jayzeng commented Apr 30, 2016

@jayzeng jayzeng closed this as completed Apr 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants