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 optional host and path param on load.py #601

Merged
merged 1 commit into from Jun 15, 2017

Conversation

fxdgear
Copy link
Contributor

@fxdgear fxdgear commented Jun 14, 2017

If you want/need to load data into a different es cluster just specify either the:

  • -H/--host option
  • -p/--path option

ex: python load.py --host http://123.123.123.123:9200 -p /home/code/elasticsearch

@honzakral
Copy link
Contributor

Nice, when you are adding argparse it would be nice to also have it handle the part to the git repo - https://github.com/elastic/elasticsearch-py/blob/master/example/load.py#L181

If you want/need to load data into a different es cluster just specify either the
 * -H/--host option
 * -p/--path option

ex: python load.py --host http://123.123.123.123:9200 -p /home/code/elasticsearch
@fxdgear fxdgear changed the title add an optional host param on load.py add optional host and path param on load.py … Jun 14, 2017
@fxdgear fxdgear changed the title add optional host and path param on load.py … add optional host and path param on load.py Jun 14, 2017
@fxdgear
Copy link
Contributor Author

fxdgear commented Jun 14, 2017

@honzakral bump

@honzakral honzakral merged commit 9320ee7 into elastic:master Jun 15, 2017
@fxdgear fxdgear deleted the nick/add_host_argument branch December 28, 2017 21:50
rciorba added a commit to rciorba/elasticsearch-py that referenced this pull request Mar 2, 2018
If you want/need to load data into a different es cluster just specify either the
 * -H/--host option
 * -p/--path option

ex: python load.py --host http://123.123.123.123:9200 -p /home/code/elasticsearch
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

Successfully merging this pull request may close these issues.

None yet

2 participants